From 17b443df4368acfad853d09858c033c45c468d5c Mon Sep 17 00:00:00 2001 From: Jason W Kim Date: Mon, 11 Oct 2010 23:01:44 +0000 Subject: Second set of ARM/MC/ELF changes. Added ARM specific ELF section types. Added AttributesSection to ARMElfTargetObject First step in unifying .cpu assembly tag with ELF/.o llc now asserts on actual ELF emission on -filetype=obj :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116257 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCSectionELF.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'include/llvm/MC/MCSectionELF.h') diff --git a/include/llvm/MC/MCSectionELF.h b/include/llvm/MC/MCSectionELF.h index fdccdfd..0e4a286 100644 --- a/include/llvm/MC/MCSectionELF.h +++ b/include/llvm/MC/MCSectionELF.h @@ -121,7 +121,18 @@ public: // referenced symbol table contain the escape value SHN_XINDEX SHT_SYMTAB_SHNDX = 0x12U, - LAST_KNOWN_SECTION_TYPE = SHT_SYMTAB_SHNDX + // Start of target-specific flags. + + // Exception Index table + SHT_ARM_EXIDX = 0x70000001U, + // BPABI DLL dynamic linking pre-emption map + SHT_ARM_PREEMPTMAP = 0x70000002U, + // Object file compatibility attributes + SHT_ARM_ATTRIBUTES = 0x70000003U, + SHT_ARM_DEBUGOVERLAY = 0x70000004U, + SHT_ARM_OVERLAYSECTION = 0x70000005U, + + LAST_KNOWN_SECTION_TYPE = SHT_ARM_OVERLAYSECTION }; /// Valid section flags. -- cgit v1.1