[llvm-commits] [llvm] r54846 - /llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp

Anton Korobeynikov asl at math.spbu.ru
Sat Aug 16 05:58:46 PDT 2008


Author: asl
Date: Sat Aug 16 07:58:46 2008
New Revision: 54846

URL: http://llvm.org/viewvc/llvm-project?rev=54846&view=rev
Log:
Use proper strings section name for PPC

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=54846&r1=54845&r2=54846&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp Sat Aug 16 07:58:46 2008
@@ -111,7 +111,7 @@
   PrivateGlobalPrefix = "";
   ConstantPoolSection = "\t.section .rodata.cst4\t";
   JumpTableDataSection = ".section .rodata.cst4";
-  CStringSection = "\t.section\t.rodata";
+  CStringSection = ".rodata.str";
   StaticCtorsSection = ".section\t.ctors,\"aw\", at progbits";
   StaticDtorsSection = ".section\t.dtors,\"aw\", at progbits";
   UsedDirective = "\t# .no_dead_strip\t";





More information about the llvm-commits mailing list