about summary refs log tree commit diff
path: root/sysdeps/generic/libc-start.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-05-04 04:30:13 +0000
committerUlrich Drepper <drepper@redhat.com>2003-05-04 04:30:13 +0000
commitf866314b89d56845f55e6f365e18b31ec978ec3a (patch)
tree24177a21031b2cc13c60cbf6901c9b652dc2ea99 /sysdeps/generic/libc-start.c
parent003f9e7223a13d1c482424deb294647d35dbec92 (diff)
downloadglibc-f866314b89d56845f55e6f365e18b31ec978ec3a.tar.gz
glibc-f866314b89d56845f55e6f365e18b31ec978ec3a.tar.xz
glibc-f866314b89d56845f55e6f365e18b31ec978ec3a.zip
Update.
2003-04-22  Roland McGrath  <roland@redhat.com>

	* elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.
	* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
	dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead.
	* elf/dl-support.c: Update defn.
	* sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
	Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR.
	(_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME.
	* elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is
	set, set up a link_map for the preloaded, prelinked object.
Diffstat (limited to 'sysdeps/generic/libc-start.c')
-rw-r--r--sysdeps/generic/libc-start.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/generic/libc-start.c b/sysdeps/generic/libc-start.c
index 0acdd59815..b98f0a2aa0 100644
--- a/sysdeps/generic/libc-start.c
+++ b/sysdeps/generic/libc-start.c
@@ -28,13 +28,6 @@ extern void __libc_init_first (int argc, char **argv, char **envp);
 extern int __libc_multiple_libcs;
 extern void *__libc_stack_end;
 
-#ifdef NEED_DL_SYSINFO
-# include "unwind-dw2-fde.h"
-extern __typeof (__register_frame_info_bases)
-     INTUSE(__register_frame_info_bases);
-static struct object eh_obj;
-#endif
-
 #include <tls.h>
 #ifndef SHARED
 # include <dl-osinfo.h>
@@ -157,13 +150,6 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
     __libc_check_standard_fds ();
 #endif
 
-#ifdef NEED_DL_SYSINFO
-  /* Register the kernel's unwind table.  */
-  if (GL(dl_sysinfo_eh_frame) != 0)
-    INTUSE(__register_frame_info_bases) ((void *) GL(dl_sysinfo_eh_frame),
-					 &eh_obj, 0, 0);
-#endif
-
   /* Register the destructor of the dynamic linker if there is any.  */
   if (__builtin_expect (rtld_fini != NULL, 1))
     __cxa_atexit ((void (*) (void *)) rtld_fini, NULL, NULL);