aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-25 07:22:45 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-25 07:22:45 +0000
commit5a47e7f2a85ecc103175095c0f4104065fd4d8db (patch)
tree34005c5173e4e43e2e62ab82a8eec354e5375e83 /sysdeps/i386
parente2084ba07167ab49c5fadae4c34aa014b694317e (diff)
downloadglibc-5a47e7f2a85ecc103175095c0f4104065fd4d8db.zip
glibc-5a47e7f2a85ecc103175095c0f4104065fd4d8db.tar.gz
glibc-5a47e7f2a85ecc103175095c0f4104065fd4d8db.tar.bz2
Update.
2002-08-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/elf/configure.in: Unconditionally define PI_STATIC_AND_HIDDEN. * elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if PI_STATIC_AND_HIDDEN is defined as well. * config.h.in: Add PI_STATIC_AND_HIDDEN entry. * elf/rtld.c (dl_main): Likewise.
Diffstat (limited to 'sysdeps/i386')
-rwxr-xr-xsysdeps/i386/elf/configure5
-rw-r--r--sysdeps/i386/elf/configure.in4
2 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/i386/elf/configure b/sysdeps/i386/elf/configure
index 0e8003e..b9e5d7e 100755
--- a/sysdeps/i386/elf/configure
+++ b/sysdeps/i386/elf/configure
@@ -37,3 +37,8 @@ EOF
fi
fi
+
+cat >> confdefs.h <<\EOF
+#define PI_STATIC_AND_HIDDEN 1
+EOF
+
diff --git a/sysdeps/i386/elf/configure.in b/sysdeps/i386/elf/configure.in
index e83555e..3c27d01 100644
--- a/sysdeps/i386/elf/configure.in
+++ b/sysdeps/i386/elf/configure.in
@@ -30,3 +30,7 @@ if test $libc_cv_386_tls = yes; then
AC_DEFINE(HAVE_TLS_SUPPORT)
fi
fi
+
+dnl It is always possible to access static and hidden symbols in an
+dnl position independent way.
+AC_DEFINE(PI_STATIC_AND_HIDDEN)