aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/ELF.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-11 18:13:52 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-11 18:13:52 +0000
commit2ff9e83a826c1c2ee0f1c6072d3d97d5b10678ee (patch)
tree7b0da82eca52b236bf7259f9d451dde58a1f7689 /include/llvm/Support/ELF.h
parent56653f0df85f8e4ee60941a6ca31c17ca6f936ff (diff)
downloadexternal_llvm-2ff9e83a826c1c2ee0f1c6072d3d97d5b10678ee.zip
external_llvm-2ff9e83a826c1c2ee0f1c6072d3d97d5b10678ee.tar.gz
external_llvm-2ff9e83a826c1c2ee0f1c6072d3d97d5b10678ee.tar.bz2
Initial comdat implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ELF.h')
-rw-r--r--include/llvm/Support/ELF.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index 3c8b729..c6304aa 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -348,6 +348,13 @@ enum {
SHF_MASKPROC = 0xf0000000 // Bits indicating processor-specific flags.
};
+// Section Group Flags
+enum {
+ GRP_COMDAT = 0x1,
+ GRP_MASKOS = 0x0ff00000,
+ GRP_MASKPROC = 0xf0000000
+};
+
// Symbol table entries for ELF32.
struct Elf32_Sym {
Elf32_Word st_name; // Symbol name (index into string table)