[llvm-commits] [llvm] r171977 - /llvm/trunk/include/llvm/Support/ELF.h
Shankar Easwaran
shankare at codeaurora.org
Wed Jan 9 08:34:46 PST 2013
Author: shankare
Date: Wed Jan 9 10:34:46 2013
New Revision: 171977
URL: http://llvm.org/viewvc/llvm-project?rev=171977&view=rev
Log:
add hexagon flags in ELF.h
Modified:
llvm/trunk/include/llvm/Support/ELF.h
Modified: llvm/trunk/include/llvm/Support/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ELF.h?rev=171977&r1=171976&r2=171977&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELF.h (original)
+++ llvm/trunk/include/llvm/Support/ELF.h Wed Jan 9 10:34:46 2013
@@ -904,7 +904,8 @@
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 @@
// 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
More information about the llvm-commits
mailing list