Define PT_ARM_EXIDX

Daniel Jacobowitz drow@false.org
Tue Mar 22 15:51:00 GMT 2005


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).  */



More information about the Libc-alpha mailing list