aboutsummaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-25 09:02:59 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-25 09:02:59 +0000
commit9df89390022a1144afffc1a0092f2b45367b17e2 (patch)
treeb3f0855ed24d433d2bfe61b0acb15e1d6cd847f1 /elf/rtld.c
parent6d497bbef7f18e37f862c2eaa1820f87546936e1 (diff)
downloadglibc-9df89390022a1144afffc1a0092f2b45367b17e2.zip
glibc-9df89390022a1144afffc1a0092f2b45367b17e2.tar.gz
glibc-9df89390022a1144afffc1a0092f2b45367b17e2.tar.bz2
Update.
* elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before defining DONT_USE_BOOTSTRAP_MAP.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 6907505..0c8bba3 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -129,7 +129,8 @@ TLS_INIT_HELPER
is fine, too. The latter is impotant here. We can avoid setting
up a temporary link map for ld.so if we can mark _rtld_global as
hidden. */
-#if defined PI_STATIC_AND_HIDDEN && defined HAVE_HIDDEN
+#if defined PI_STATIC_AND_HIDDEN && defined HAVE_HIDDEN \
+ && defined HAVE_VISIBILITY_ATTRIBUTE
# define DONT_USE_BOOTSTRAP_MAP 1
#endif