diff options
| author | Roland McGrath <roland@gnu.org> | 2002-10-25 19:41:24 +0000 |
|---|---|---|
| committer | Roland McGrath <roland@gnu.org> | 2002-10-25 19:41:24 +0000 |
| commit | 8b995f35b90a2ffd264aacc2462cf57bbfd2c9b4 (patch) | |
| tree | 0835ce43604c3f32c9b25f769fa40c2c5391dd4a | |
| parent | 35ebee609c908ba06dae83a469df77bcb0a90fa6 (diff) | |
| download | glibc-8b995f35b90a2ffd264aacc2462cf57bbfd2c9b4.tar.xz glibc-8b995f35b90a2ffd264aacc2462cf57bbfd2c9b4.zip | |
2002-10-25 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
conditional from __libc_multiple_libcs access. Remove kludge for weak
symbol access with old compilers we no longer support.
* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
* sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
| -rw-r--r-- | sysdeps/unix/sysv/aix/init-first.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/aix/init-first.c b/sysdeps/unix/sysv/aix/init-first.c index 8272a62824..24ef109dd2 100644 --- a/sysdeps/unix/sysv/aix/init-first.c +++ b/sysdeps/unix/sysv/aix/init-first.c @@ -57,12 +57,8 @@ init (int argc, char **argv, char **envp) If the address would be taken inside the expression the optimizer would try to be too smart and throws it away. Grrr. */ -#ifndef SHARED /* XXX disable dl for now - int *dummy_addr = &_dl_starting_up; - - __libc_multiple_libcs = dummy_addr && !_dl_starting_up; */ -#endif + __libc_multiple_libcs = &_dl_starting_up && !_dl_starting_up; */ /* Save the command-line arguments. */ __libc_argc = argc; |
