diff options
author | Roland McGrath <roland@gnu.org> | 2002-10-01 08:45:44 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-10-01 08:45:44 +0000 |
commit | 749a9a4fbfd261e2d9811d9bc4507478c2f7cc58 (patch) | |
tree | 17cafa03770236ee2f1b6671f22501b35eaf816d /sysdeps/mach/hurd | |
parent | d1f69fed96fdb47aa7394d6e0ece1e16811d55fd (diff) | |
download | glibc-749a9a4fbfd261e2d9811d9bc4507478c2f7cc58.tar.gz glibc-749a9a4fbfd261e2d9811d9bc4507478c2f7cc58.tar.xz glibc-749a9a4fbfd261e2d9811d9bc4507478c2f7cc58.zip |
2002-10-01 Roland McGrath <roland@frob.com>
* config.h.in (NO_HIDDEN): New #undef. * include/libc-symbols.h [! NO_HIDDEN]: Add this condition to nonempty definitions of hidden_proto et al. * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN. * configure: Regenerated. * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN. * sysdeps/mach/hurd/configure: Regenerated.
Diffstat (limited to 'sysdeps/mach/hurd')
-rwxr-xr-x | sysdeps/mach/hurd/configure | 15 | ||||
-rw-r--r-- | sysdeps/mach/hurd/configure.in | 3 |
2 files changed, 13 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/configure b/sysdeps/mach/hurd/configure index 56355b18bb..73149f5fe1 100755 --- a/sysdeps/mach/hurd/configure +++ b/sysdeps/mach/hurd/configure @@ -2,6 +2,11 @@ # GNU libc on the Hurd is always reentrant. DEFINES="$DEFINES -D_LIBC_REENTRANT" +cat >> confdefs.h <<\EOF +#define NO_HIDDEN 1 +EOF + + # Don't bother trying to generate any glue code to be compatible with the # existing system library, because we are the only system library. inhibit_glue=yes @@ -21,12 +26,12 @@ case "$machine" in esac echo $ac_n "checking Hurd header version""... $ac_c" 1>&6 -echo "configure:25: checking Hurd header version" >&5 +echo "configure:30: checking Hurd header version" >&5 if eval "test \"`echo '$''{'libc_cv_hurd_version'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 30 "configure" +#line 35 "configure" #include "confdefs.h" #include <hurd/version.h> int main() { @@ -37,7 +42,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:41: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:46: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* libc_cv_hurd_version=ok else @@ -58,7 +63,7 @@ fi # See if mig groks `retcode'. echo $ac_n "checking whether $MIG supports the retcode keyword""... $ac_c" 1>&6 -echo "configure:62: checking whether $MIG supports the retcode keyword" >&5 +echo "configure:67: checking whether $MIG supports the retcode keyword" >&5 if eval "test \"`echo '$''{'hurd_cv_mig_retcode'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -72,7 +77,7 @@ simpleroutine foobar_reply ( reply_port: reply_port_t; err: kern_return_t, RetCode); EOF -if { ac_try='CC="${CC}" ${MIG-false} -n conftest.defs 1>&5'; { (eval echo configure:76: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then +if { ac_try='CC="${CC}" ${MIG-false} -n conftest.defs 1>&5'; { (eval echo configure:81: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then hurd_cv_mig_retcode=yes else hurd_cv_mig_retcode=no diff --git a/sysdeps/mach/hurd/configure.in b/sysdeps/mach/hurd/configure.in index 2945dc184e..21c77b9262 100644 --- a/sysdeps/mach/hurd/configure.in +++ b/sysdeps/mach/hurd/configure.in @@ -4,6 +4,9 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. # GNU libc on the Hurd is always reentrant. DEFINES="$DEFINES -D_LIBC_REENTRANT" +dnl We need this setting because of the need for PLT calls in ld.so. +AC_DEFINE([NO_HIDDEN]) + # Don't bother trying to generate any glue code to be compatible with the # existing system library, because we are the only system library. inhibit_glue=yes |