summaryrefslogtreecommitdiffstats
path: root/tools/llvm-readobj
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-09-15 19:53:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-09-15 19:53:20 +0000
commit766f25306af343fb2784350cb4d8cd9ca180f0d3 (patch)
treec51638c97cb5a38503e0e178931d11ba13fc85d9 /tools/llvm-readobj
parentbcd9b3b6b119420edffd259e5e05c5e0cf5fbc6c (diff)
downloadexternal_llvm-766f25306af343fb2784350cb4d8cd9ca180f0d3.zip
external_llvm-766f25306af343fb2784350cb4d8cd9ca180f0d3.tar.gz
external_llvm-766f25306af343fb2784350cb4d8cd9ca180f0d3.tar.bz2
ELF: Add support for the exclude section bit for gas compat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-readobj')
-rw-r--r--tools/llvm-readobj/ELFDumper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-readobj/ELFDumper.cpp b/tools/llvm-readobj/ELFDumper.cpp
index 502fe67..71f03bc 100644
--- a/tools/llvm-readobj/ELFDumper.cpp
+++ b/tools/llvm-readobj/ELFDumper.cpp
@@ -377,6 +377,7 @@ static const char *getElfSectionType(unsigned Arch, unsigned Type) {
static const EnumEntry<unsigned> ElfSectionFlags[] = {
LLVM_READOBJ_ENUM_ENT(ELF, SHF_WRITE ),
LLVM_READOBJ_ENUM_ENT(ELF, SHF_ALLOC ),
+ LLVM_READOBJ_ENUM_ENT(ELF, SHF_EXCLUDE ),
LLVM_READOBJ_ENUM_ENT(ELF, SHF_EXECINSTR ),
LLVM_READOBJ_ENUM_ENT(ELF, SHF_MERGE ),
LLVM_READOBJ_ENUM_ENT(ELF, SHF_STRINGS ),