elf/dl-lookup.c: Move STB_GNU_UNIQUE handling to a function
commitf393b4aaedd32238738708f6b180fe91a0ae85f8
authorWill Newton <will.newton@linaro.org>
Wed, 2 Apr 2014 15:04:12 +0000 (2 16:04 +0100)
committerWill Newton <will.newton@linaro.org>
Mon, 23 Jun 2014 13:13:30 +0000 (23 14:13 +0100)
treeb8ea925484b201738d81a398b3eaccebb216d0ba
parentac60763eac3d43b7234dd21286ad3ec3f17957fc
elf/dl-lookup.c: Move STB_GNU_UNIQUE handling to a function

Move handling of STB_GNU_UNIQUE symbols to a separate function
from do_lookup_x in order to make the code more readable.

The new function gets inlined with gcc 4.8 on ARM and the
do_lookup_x code becomes a few bytes smaller.

ChangeLog:

2014-06-23  Will Newton  <will.newton@linaro.org>

* elf/dl-lookup.c (do_lookup_unique): New function.
(do_lookup_x): Move STB_GNU_UNIQUE handling code
to a separate function.
ChangeLog
elf/dl-lookup.c