Use proper strings section name for PPC
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 16 Aug 2008 12:58:46 +0000 (12:58 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 16 Aug 2008 12:58:46 +0000 (12:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54846 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetAsmInfo.cpp

index 2fd9c2b001ad94474a50d4a2b6d102e86e43a3a6..dc863e2d6ed4885eb483c15ba480ff8348810f4e 100644 (file)
@@ -111,7 +111,7 @@ PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) :
   PrivateGlobalPrefix = "";
   ConstantPoolSection = "\t.section .rodata.cst4\t";
   JumpTableDataSection = ".section .rodata.cst4";
-  CStringSection = "\t.section\t.rodata";
+  CStringSection = ".rodata.str";
   StaticCtorsSection = ".section\t.ctors,\"aw\",@progbits";
   StaticDtorsSection = ".section\t.dtors,\"aw\",@progbits";
   UsedDirective = "\t# .no_dead_strip\t";