summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-07-22 17:09:41 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-07-22 17:09:41 +0000
commit09809801749d6ad3bcb79f6a53e8361c70b54b49 (patch)
treefaacdb80097b39d1ace6dced8d376c47634950d9 /include
parentc92a0e90b73a502d218249b29ff496256e87a596 (diff)
downloadllvm-09809801749d6ad3bcb79f6a53e8361c70b54b49.tar.gz
llvm-09809801749d6ad3bcb79f6a53e8361c70b54b49.tar.bz2
llvm-09809801749d6ad3bcb79f6a53e8361c70b54b49.tar.xz
Tie small stuff to non-small by default on ELF platforms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 98247e8d80..852e03a379 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -40,8 +40,8 @@ namespace llvm {
RODataMergeStr, ///< Readonly data section (mergeable strings)
RODataMergeConst, ///< Readonly data section (mergeable constants)
SmallData, ///< Small data section
- SmallBSS, ///< Small bss section
- SmallROData, ///< Small readonly section
+ SmallBSS, ///< Small bss section
+ SmallROData, ///< Small readonly section
ThreadData, ///< Initialized TLS data objects
ThreadBSS ///< Uninitialized TLS data objects
};
@@ -58,6 +58,7 @@ namespace llvm {
const unsigned TLS = 1 << 5; ///< Section contains thread-local data
const unsigned Debug = 1 << 6; ///< Section contains debug data
const unsigned Linkonce = 1 << 7; ///< Section is linkonce
+ const unsigned Small = 1 << 8; ///< Section is small
const unsigned TypeFlags = 0xFF;
// Some gap for future flags
const unsigned Named = 1 << 23; ///< Section is named