diff options
author | asl <asl@91177308-0d34-0410-b5e6-96231b3b80d8> | 2008-08-16 12:59:02 +0000 |
---|---|---|
committer | asl <asl@91177308-0d34-0410-b5e6-96231b3b80d8> | 2008-08-16 12:59:02 +0000 |
commit | 4d8bcfd8381c88371d6e1dfd3faa9b3bd007fcba (patch) | |
tree | e3ad4b4f9f4df9d05091f04324322df79f619b5a /lib/Target | |
parent | 7e07ea5d0b6b2bf75cbf1a5ed1569c9f7f3a683e (diff) | |
download | external_llvm-4d8bcfd8381c88371d6e1dfd3faa9b3bd007fcba.zip external_llvm-4d8bcfd8381c88371d6e1dfd3faa9b3bd007fcba.tar.gz external_llvm-4d8bcfd8381c88371d6e1dfd3faa9b3bd007fcba.tar.bz2 |
PPC/Linux normally uses named section for bss
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/PowerPC/PPCTargetAsmInfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp index dc863e2..1b8c1a5 100644 --- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp +++ b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp @@ -118,6 +118,11 @@ PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) : WeakRefDirective = "\t.weak\t"; BSSSection = "\t.section\t\".sbss\",\"aw\",@nobits"; + // PPC/Linux normally uses named section for BSS. + BSSSection_ = getNamedSection("\t.bss", + SectionFlags::Writeable | SectionFlags::BSS, + /* Override */ true); + // Debug Information AbsoluteDebugSectionOffsets = true; SupportsDebugInformation = true; |