summaryrefslogtreecommitdiff
path: root/include/llvm/Support/ELF.h
diff options
context:
space:
mode:
authorShankar Easwaran <shankare@codeaurora.org>2013-01-09 16:34:46 +0000
committerShankar Easwaran <shankare@codeaurora.org>2013-01-09 16:34:46 +0000
commitcde81689649ca62688e22a2d068ca893ce221332 (patch)
treea0cae9a99b0fe569f90bd8478e863ddcb4500a3a /include/llvm/Support/ELF.h
parent73b984530f42d1b829a8de8824ae354a133d998a (diff)
downloadllvm-cde81689649ca62688e22a2d068ca893ce221332.tar.gz
llvm-cde81689649ca62688e22a2d068ca893ce221332.tar.bz2
llvm-cde81689649ca62688e22a2d068ca893ce221332.tar.xz
add hexagon flags in ELF.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ELF.h')
-rw-r--r--include/llvm/Support/ELF.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index e351fbc795..fa97d6e6dc 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -904,7 +904,8 @@ enum {
SHT_ARM_ATTRIBUTES = 0x70000003U,
SHT_ARM_DEBUGOVERLAY = 0x70000004U,
SHT_ARM_OVERLAYSECTION = 0x70000005U,
-
+ SHT_HEX_ORDERED = 0x70000000, // Link editor is to sort the entries in
+ // this section based on their sizes
SHT_X86_64_UNWIND = 0x70000001, // Unwind information
SHT_HIPROC = 0x7fffffff, // Highest processor architecture-specific type.
@@ -969,7 +970,12 @@ enum {
// sets this flag besides being able to refer to data in a section that does
// not set it; likewise, a small code model object can refer only to code in a
// section that does not set this flag.
- SHF_X86_64_LARGE = 0x10000000
+ SHF_X86_64_LARGE = 0x10000000,
+
+ // All sections with the GPREL flag are grouped into a global data area
+ // for faster accesses
+ SHF_HEX_GPREL = 0x10000000
+
};
// Section Group Flags