[llvm-commits] Add hexagon flags in ELF.h

Shankar Easwaran shankare at codeaurora.org
Wed Jan 9 07:36:39 PST 2013


Hi,

Adding Hexagon specific flags in ELF.h.

Ok to commit ?

Thanks

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation

-------------- next part --------------
Index: ELF.h
===================================================================
--- ELF.h	(revision 171739)
+++ ELF.h	(working copy)
@@ -979,6 +979,19 @@
   GRP_MASKPROC = 0xf0000000
 };
 
+// Processor-specific section flags
+enum {
+  SHF_HEX_GPREL           = (~SHF_MASKPROC + 1) // section should be in the 
+                                                // global data area
+};
+
+// Processor-specific section type
+enum {
+  SHT_HEX_ORDERED         = (SHT_LOPROC + 0) // Link editor is to sort the 
+                                             // entries in this section based
+                                             // on their sizes
+};
+
 // Symbol table entries for ELF32.
 struct Elf32_Sym {
   Elf32_Word    st_name;  // Symbol name (index into string table)


More information about the llvm-commits mailing list