aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-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 54da31c..8f92832 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -1196,6 +1196,9 @@ enum {
// This section holds Thread-Local Storage.
SHF_TLS = 0x400U,
+ // This section is excluded from the final executable or shared library.
+ SHF_EXCLUDE = 0x80000000U,
+
// Start of target-specific flags.
/// XCORE_SHF_CP_SECTION - All sections with the "c" flag are grouped