aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Object
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 /lib/Object
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 'lib/Object')
-rw-r--r--lib/Object/ELFYAML.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Object/ELFYAML.cpp b/lib/Object/ELFYAML.cpp
index e530d3d..2f35cf9 100644
--- a/lib/Object/ELFYAML.cpp
+++ b/lib/Object/ELFYAML.cpp
@@ -266,6 +266,7 @@ void ScalarBitSetTraits<ELFYAML::ELF_SHF>::bitset(IO &IO,
#define BCase(X) IO.bitSetCase(Value, #X, ELF::X);
BCase(SHF_WRITE)
BCase(SHF_ALLOC)
+ BCase(SHF_EXCLUDE)
BCase(SHF_EXECINSTR)
BCase(SHF_MERGE)
BCase(SHF_STRINGS)