summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arm/include/elf.h3
-rw-r--r--sys/sys/elf_common.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/arm/include/elf.h b/sys/arm/include/elf.h
index 9262682..8b498b6 100644
--- a/sys/arm/include/elf.h
+++ b/sys/arm/include/elf.h
@@ -55,9 +55,6 @@ __ElfType(Auxinfo);
#define ELF_MACHINE_OK(x) ((x) == EM_ARM)
-/* Unwind info section type */
-#define PT_ARM_EXIDX (PT_LOPROC + 1)
-
/*
* Relocation types.
*/
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index ec8af53..ede4b13 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -511,6 +511,8 @@ typedef struct {
#define PT_HISUNW 0x6fffffff
#define PT_HIOS 0x6fffffff /* Last OS-specific. */
#define PT_LOPROC 0x70000000 /* First processor-specific type. */
+#define PT_ARM_ARCHEXT 0x70000000 /* ARM arch compat information. */
+#define PT_ARM_EXIDX 0x70000001 /* ARM exception unwind tables. */
#define PT_HIPROC 0x7fffffff /* Last processor-specific type. */
/* Values for p_flags. */
OpenPOWER on IntegriCloud