summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-09-15 17:37:30 +0000
committeremaste <emaste@FreeBSD.org>2016-09-15 17:37:30 +0000
commit4a1f75f05099b39074e0485603c771634cb71527 (patch)
tree6205a19aaaa663719508614b5099db57f7299a4f
parente13c22f0f03ab2904ecc59b5e898f6fd632f9ab8 (diff)
downloadFreeBSD-src-4a1f75f05099b39074e0485603c771634cb71527.zip
FreeBSD-src-4a1f75f05099b39074e0485603c771634cb71527.tar.gz
MFC r303677: Move/add ARM ELF PHDR types to elf_common.h
-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