add hexagon flags in ELF.h
authorShankar Easwaran <shankare@codeaurora.org>
Wed, 9 Jan 2013 16:34:46 +0000 (16:34 +0000)
committerShankar Easwaran <shankare@codeaurora.org>
Wed, 9 Jan 2013 16:34:46 +0000 (16:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171977 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ELF.h

index e351fbc7951e852180faf14ace36461cc0844648..fa97d6e6dc05689c1824bbdda2a90e560a650b90 100644 (file)
@@ -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