about summary refs log tree commit diff
path: root/nss/tst-nss-test1.c
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-04-02 16:04:12 +0100
committerWill Newton <will.newton@linaro.org>2014-06-23 14:13:30 +0100
commitf393b4aaedd32238738708f6b180fe91a0ae85f8 (patch)
treeb8ea925484b201738d81a398b3eaccebb216d0ba /nss/tst-nss-test1.c
parentac60763eac3d43b7234dd21286ad3ec3f17957fc (diff)
downloadglibc-f393b4aaedd32238738708f6b180fe91a0ae85f8.tar.gz
glibc-f393b4aaedd32238738708f6b180fe91a0ae85f8.tar.xz
glibc-f393b4aaedd32238738708f6b180fe91a0ae85f8.zip
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.
Diffstat (limited to 'nss/tst-nss-test1.c')
0 files changed, 0 insertions, 0 deletions