From f866314b89d56845f55e6f365e18b31ec978ec3a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 4 May 2003 04:30:13 +0000 Subject: Update. 2003-04-22 Roland McGrath * 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. --- sysdeps/generic/ldsodefs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sysdeps/generic/ldsodefs.h') diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 12151ce69d..4b75f4672e 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -395,8 +395,9 @@ struct rtld_global /* Syscall handling improvements. This is very specific to x86. */ EXTERN uintptr_t _dl_sysinfo; - /* Address of the unwind info for the vsyscall page. */ - EXTERN uintptr_t _dl_sysinfo_eh_frame; + /* The vsyscall page is a virtual DSO pre-mapped by the kernel. + This points to its ELF header. */ + EXTERN const ElfW(Ehdr) *_dl_sysinfo_dso; #endif #ifdef SHARED -- cgit v1.2.3