From b236e99d90748f6caf77994e96dc5aaa48ce2993 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 28 Aug 1996 00:26:07 +0000 Subject: Upadte. Tue Aug 27 17:45:21 1996 Ulrich Drepper * Makerules: Add some test for correct version of GNU Make. * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996. * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead. * sysdeps/generic/dl-sysdep.c: Initialize break address to avoid overwriting last page (OK, Roland). Tue Aug 27 16:20:37 1996 Ulrich Drepper * resolv/resolv.h: Update from BIND-4.9.5-T3A. * resolv/arpa/nameser.h: Likewise. * resolv/res_init.c: Likewise. * resolv/res_debug.c: Likewise. * resolv/res_mkquery.c: Likewise. Tue Aug 27 15:47:04 1996 Ulrich Drepper * elf/dl-error.c (catch): Define errstring element not as const. (_dl_catch_error): ERRSTRING argument is not const pointer. Initialize *ERRSTRING and *OBJNAME separately. * elf/link.h: Change prototype for `_dl_catch_error'. * elf/dl-load.c (_dl_map_object): Use separate variable for copied NAME to avoid `const' warning. * elf/dlerror.c: Make `last_errstring' variable not const pointer. * elf/rtld.c: Implement reading of /etc/ld.so.preload. This provides preloading even for SUID binaries. Add some more casts to avoid signed<->unsigned warnings. Tue Aug 27 15:40:28 1996 NIIBE Yutaka * posix/sys/types.h: Define loff_t. * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t. Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW being null; in that case don't touch the timer at all (but do return something in OLD if necessary). Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New variable. * sysdeps/i386/init-first.c: Likewise. * sysdeps/stub/init-first.c: Likewise. --- elf/rtld.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'elf') diff --git a/elf/rtld.c b/elf/rtld.c index be71e88c3c..8b754920f8 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -486,20 +486,6 @@ of this helper program; chances are you did not intend to run this program.\n", _dl_debug_state (); } - if (_dl_rtld_map.l_info[DT_INIT]) - { - /* Call the initializer for the compatibility version of the - dynamic linker. There is no additional initialization - required for the ABI-compliant dynamic linker. */ - - (*(void (*) (int, char **, char**)) - (_dl_rtld_map.l_addr + _dl_rtld_map.l_info[DT_INIT]->d_un.d_ptr)) - (0, NULL, NULL); - - /* Clear the field so a future dlopen won't run it again. */ - _dl_rtld_map.l_info[DT_INIT] = NULL; - } - /* We finished the intialization and will start up. */ _dl_starting_up = 1; -- cgit v1.2.3