OSDN Git Service

Add PT_ARM_EXIDX.
authorDan Albert <danalbert@google.com>
Mon, 17 Apr 2017 23:06:59 +0000 (16:06 -0700)
committerDan Albert <danalbert@google.com>
Mon, 17 Apr 2017 23:06:59 +0000 (16:06 -0700)
The updated LLVM libunwind needs this to be defined.

Test: make checkbuild
Bug: None
Change-Id: Ia20016a9e3becb37ea6902f1959d1884c1263e51

libc/include/elf.h

index ae05d3d..2950e0a 100644 (file)
@@ -178,6 +178,7 @@ typedef struct {
 
 #define ELFOSABI_SYSV 0 /* Synonym for ELFOSABI_NONE used by valgrind. */
 
+#define PT_ARM_EXIDX (PT_LOPROC + 1)
 #define PT_GNU_RELRO 0x6474e552
 
 #define STB_LOOS      10