diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-10 10:04:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-10 10:04:19 +0000 |
commit | 78678039a4c4575cbb48c9577b4796cf2a05af62 (patch) | |
tree | b726f6814376eb0725dae5a1e162303efbda403c /sysdeps/generic/errno.c | |
parent | 4a381a81fee9ee4569d0cee0807cef7e998fc59a (diff) | |
download | glibc-78678039a4c4575cbb48c9577b4796cf2a05af62.tar.gz glibc-78678039a4c4575cbb48c9577b4796cf2a05af62.tar.xz glibc-78678039a4c4575cbb48c9577b4796cf2a05af62.zip |
Update.
2004-03-10 Richard Henderson <rth@redhat.com> * sysdeps/generic/errno.c: Disable versioning for rtld. * sysdeps/generic/Makefile (elf/shared): Add unwind-pe. * sysdeps/generic/unwind-pe.c: New file. * sysdeps/generic/unwind-pe.h: Only prototypes for _LIBC without _LIBC_DEFINITIONS. * posix/regexec.c: Likewise.
Diffstat (limited to 'sysdeps/generic/errno.c')
-rw-r--r-- | sysdeps/generic/errno.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/generic/errno.c b/sysdeps/generic/errno.c index 1c0561c2d7..88e84d3204 100644 --- a/sysdeps/generic/errno.c +++ b/sysdeps/generic/errno.c @@ -32,9 +32,11 @@ extern __thread int __libc_errno __attribute__ ((alias ("errno"))) int errno __attribute__ ((section (".bss"))); strong_alias (errno, _errno) -/* We declare these with compat_symbol so that they are not - visible at link time. Programs must use the accessor functions. */ -# if defined HAVE_ELF && defined SHARED && defined DO_VERSIONING +/* We declare these with compat_symbol so that they are not visible at + link time. Programs must use the accessor functions. RTLD is special, + since it's not exported from there at any time. */ +# if defined HAVE_ELF && defined SHARED && defined DO_VERSIONING \ + && !defined IS_IN_rtld # include <shlib-compat.h> compat_symbol (libc, errno, errno, GLIBC_2_0); compat_symbol (libc, _errno, _errno, GLIBC_2_0); |