aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-01-08 06:28:46 +0000
committerUlrich Drepper <drepper@redhat.com>2002-01-08 06:28:46 +0000
commita0dcb6896c35abf88810296367a63da75ebf1828 (patch)
treed2c3fad2eab4eac4f2020866ca36f2cd4a011169 /elf
parentabd336891bd17071ed166ae536ef381dbafe00b3 (diff)
downloadglibc-a0dcb6896c35abf88810296367a63da75ebf1828.tar
glibc-a0dcb6896c35abf88810296367a63da75ebf1828.tar.gz
glibc-a0dcb6896c35abf88810296367a63da75ebf1828.tar.bz2
glibc-a0dcb6896c35abf88810296367a63da75ebf1828.zip
Update.
2002-01-03 Jakub Jelinek <jakub@redhat.com> * elf/Makefile (routines, shared-only-routines): Add unwind-dw2-fde-glibc instead of unwind-dw2-fde. * elf/elf.h (PT_GNU_EH_FRAME): Define. * sysdeps/generic/unwind-dw2-fde-glibc.c: New file. * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases): Optimize if .eh_frame section contains no FDEs. (__register_frame, __deregister_frame_info_bases, __deregister_frame): Likewise. * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling. 2002-01-07 Stephen L Moshier <moshier@mediaone.net>
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile4
-rw-r--r--elf/elf.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index f1245328f5..c249c41b69 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -67,8 +67,8 @@ distribute := $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
include ../Makeconfig
ifeq ($(unwind-find-fde),yes)
-routines += unwind-dw2-fde
-shared-only-routines = unwind-dw2-fde
+routines += unwind-dw2-fde-glibc
+shared-only-routines = unwind-dw2-fde-glibc
endif
before-compile = $(objpfx)trusted-dirs.h
diff --git a/elf/elf.h b/elf/elf.h
index 3c8da863d2..a6c874c28a 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -561,6 +561,7 @@ typedef struct
#define PT_TLS 7 /* Thread-local storage segment */
#define PT_NUM 8 /* Number of defined types */
#define PT_LOOS 0x60000000 /* Start of OS-specific */
+#define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
#define PT_LOSUNW 0x6ffffffa
#define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
#define PT_SUNWSTACK 0x6ffffffb /* Stack segment */