mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 23:40:10 +00:00
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.
This commit is contained in:
parent
35ebee609c
commit
8b995f35b9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user