This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Define PT_ARM_EXIDX
- From: Daniel Jacobowitz <drow at false dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 22 Mar 2005 10:51:40 -0500
- Subject: Define PT_ARM_EXIDX
The ARM EABI uses a program header to locate exception tables for shared
objects, just like PT_GNU_EH_FRAME. But the format is a little different,
and the header is above PT_LOPROC because it was assigned by a processor
vendor. This just adds the constant to elf/elf.h.
--
Daniel Jacobowitz
CodeSourcery, LLC
2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
* elf/elf.h (PT_ARM_EXIDX): Define.
Index: glibc/elf/elf.h
===================================================================
--- glibc.orig/elf/elf.h 2005-03-17 10:24:55.000000000 -0500
+++ glibc/elf/elf.h 2005-03-21 10:06:15.000000000 -0500
@@ -574,6 +574,7 @@ typedef struct
#define PT_HISUNW 0x6fffffff
#define PT_HIOS 0x6fffffff /* End of OS-specific */
#define PT_LOPROC 0x70000000 /* Start of processor-specific */
+#define PT_ARM_EXIDX 0x70000001 /* .ARM.exidx segment */
#define PT_HIPROC 0x7fffffff /* End of processor-specific */
/* Legal values for p_flags (segment flags). */