diff --git a/sys/arm/include/elf.h b/sys/arm/include/elf.h index 92626829010..8b498b69cab 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 ec8af53f734..ede4b13a2c5 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. */