summaryrefslogtreecommitdiff
path: root/include/llvm/Support/ELF.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-01-20 06:38:47 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-01-20 06:38:47 +0000
commitb84551a14f1c96942eb82408652e633543b0961e (patch)
tree3eb024f4b54e43c64907b1c45535e5e133b1ced0 /include/llvm/Support/ELF.h
parenta1ef8ef66075e28e020e5d2f408e0a9bae9eb9d3 (diff)
downloadllvm-b84551a14f1c96942eb82408652e633543b0961e.tar.gz
llvm-b84551a14f1c96942eb82408652e633543b0961e.tar.bz2
llvm-b84551a14f1c96942eb82408652e633543b0961e.tar.xz
Object: Add ELF support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ELF.h')
-rw-r--r--include/llvm/Support/ELF.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index 93e7304fc5..e2c3524ec3 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -146,6 +146,7 @@ enum {
// Object file classes.
enum {
+ ELFCLASSNONE = 0,
ELFCLASS32 = 1, // 32-bit object file
ELFCLASS64 = 2 // 64-bit object file
};
@@ -510,6 +511,8 @@ enum {
SHF_WRITE = 0x1, // Section data should be writable during execution.
SHF_ALLOC = 0x2, // Section occupies memory during program execution.
SHF_EXECINSTR = 0x4, // Section contains executable machine instructions.
+ SHF_MERGE = 0x10, // The data in this section may be merged.
+ SHF_STRINGS = 0x20, // The data in this section is null-terminated strings.
SHF_MASKPROC = 0xf0000000 // Bits indicating processor-specific flags.
};