Match GCC's behaviour for these sections.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 10 Feb 2008 00:03:54 +0000 (00:03 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 10 Feb 2008 00:03:54 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46916 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetAsmInfo.cpp

index 8728def217c7c564051d7d4537fa43a4f0ec0c30..90270ad2f08a588163406f9e83ee2ddf41e96e37 100644 (file)
@@ -92,8 +92,8 @@ LinuxTargetAsmInfo::LinuxTargetAsmInfo(const PPCTargetMachine &TM)
   CommentString = "#";
   GlobalPrefix = "";
   PrivateGlobalPrefix = "";
-  ConstantPoolSection = "\t.section .rodata.cst4\t";
-  JumpTableDataSection = ".section .rodata.cst4";
+  ConstantPoolSection = "\t.section .rodata\t";
+  JumpTableDataSection = ".section .rodata";
   CStringSection = "\t.section\t.rodata";
   StaticCtorsSection = ".section\t.ctors,\"aw\",@progbits";
   StaticDtorsSection = ".section\t.dtors,\"aw\",@progbits";