diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-26 19:23:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-26 19:23:28 +0000 |
commit | 0fcf4dc6d367216ff51501af282e33e93da8586f (patch) | |
tree | 37e6bf1e5da0f89ae50c33fa16f8ac0f1ca0d2da /lib/Target/CellSPU/SPUTargetAsmInfo.cpp | |
parent | 30b2bdfa734d59bb7bc769dc2f06e4900a77f6f8 (diff) |
untangle a TargetAsmInfo hack where ELFTargetAsmInfo would create a
'unnamed' bss section, but some impls would want a named one. Since
they don't have consistent behavior, just make each target do their
own thing, instead of doing something "sortof common" then having
targets change immutable objects later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUTargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/CellSPU/SPUTargetAsmInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/CellSPU/SPUTargetAsmInfo.cpp b/lib/Target/CellSPU/SPUTargetAsmInfo.cpp index 000ba01c86..c4d354687f 100644 --- a/lib/Target/CellSPU/SPUTargetAsmInfo.cpp +++ b/lib/Target/CellSPU/SPUTargetAsmInfo.cpp @@ -36,8 +36,7 @@ SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(const SPUTargetMachine &TM) : // BSS section needs to be emitted as ".section" BSSSection = "\t.section\t.bss"; BSSSection_ = getUnnamedSection("\t.section\t.bss", - SectionFlags::Writable | SectionFlags::BSS, - true); + SectionFlags::Writable | SectionFlags::BSS); SupportsDebugInformation = true; NeedsSet = true; |