Skip to content

Commit 9f64604

Browse files
author
Shankar Easwaran
committed
add hexagon flags in ELF.h
llvm-svn: 171977
1 parent f42bdf7 commit 9f64604

File tree

1 file changed

+8
-2
lines changed
  • llvm/include/llvm/Support

1 file changed

+8
-2
lines changed

llvm/include/llvm/Support/ELF.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,8 @@ enum {
904904
SHT_ARM_ATTRIBUTES = 0x70000003U,
905905
SHT_ARM_DEBUGOVERLAY = 0x70000004U,
906906
SHT_ARM_OVERLAYSECTION = 0x70000005U,
907-
907+
SHT_HEX_ORDERED = 0x70000000, // Link editor is to sort the entries in
908+
// this section based on their sizes
908909
SHT_X86_64_UNWIND = 0x70000001, // Unwind information
909910

910911
SHT_HIPROC = 0x7fffffff, // Highest processor architecture-specific type.
@@ -969,7 +970,12 @@ enum {
969970
// sets this flag besides being able to refer to data in a section that does
970971
// not set it; likewise, a small code model object can refer only to code in a
971972
// section that does not set this flag.
972-
SHF_X86_64_LARGE = 0x10000000
973+
SHF_X86_64_LARGE = 0x10000000,
974+
975+
// All sections with the GPREL flag are grouped into a global data area
976+
// for faster accesses
977+
SHF_HEX_GPREL = 0x10000000
978+
973979
};
974980

975981
// Section Group Flags

0 commit comments

Comments
 (0)