From dd2be8cb6e47f93a99ef263706a8e4a05e236b8f Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 2 Aug 2016 20:26:04 +0000 Subject: [PATCH] Move/add ARM ELF PHDR types to elf_common.h Accidentally missed in r303674 --- sys/arm/include/elf.h | 3 --- sys/sys/elf_common.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) 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. */