[llvm-commits] [llvm] r54847 - /llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sat Aug 16 05:59:02 PDT 2008
Author: asl
Date: Sat Aug 16 07:59:02 2008
New Revision: 54847
URL: http://llvm.org/viewvc/llvm-project?rev=54847&view=rev
Log:
PPC/Linux normally uses named section for bss
Modified:
llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp?rev=54847&r1=54846&r2=54847&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp Sat Aug 16 07:59:02 2008
@@ -118,6 +118,11 @@
WeakRefDirective = "\t.weak\t";
BSSSection = "\t.section\t\".sbss\",\"aw\", at 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;
More information about the llvm-commits
mailing list