diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-19 23:05:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-19 23:05:13 +0000 |
commit | 5f5843e30dda46ffc443c492959e206530837c98 (patch) | |
tree | 7bc5ac8db51b676ae724d006fec887e2fdb11c75 /sysdeps/generic/dl-sysdep.h | |
parent | 13880b3014cddd3700e4186a3e07aa6146863b02 (diff) | |
download | glibc-5f5843e30dda46ffc443c492959e206530837c98.tar.gz glibc-5f5843e30dda46ffc443c492959e206530837c98.tar.xz glibc-5f5843e30dda46ffc443c492959e206530837c98.zip |
Update.
2002-12-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO information for system calls. * sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only for ld.so. * elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv.
Diffstat (limited to 'sysdeps/generic/dl-sysdep.h')
-rw-r--r-- | sysdeps/generic/dl-sysdep.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-sysdep.h b/sysdeps/generic/dl-sysdep.h index b39103cbc2..98bd5dbe84 100644 --- a/sysdeps/generic/dl-sysdep.h +++ b/sysdeps/generic/dl-sysdep.h @@ -25,4 +25,8 @@ all the libc functions that ld.so uses are called without PLT and always get the versions linked into ld.so rather than the libc ones. */ -#define RTLD_PRIVATE_ERRNO 1 +#ifdef IS_IN_rtld +# define RTLD_PRIVATE_ERRNO 1 +#else +# define RTLD_PRIVATE_ERRNO 0 +#endif |