summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-02-10 00:03:54 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-02-10 00:03:54 +0000
commit52ea27db178dec1ba2a137ca8416a462419f385c (patch)
treee5937b59c4ee506773ddd954ee952e0e66da9c73 /llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
parent727c7634c7667646bf915fcd38663b731557ee1a (diff)
downloadbcm5719-llvm-52ea27db178dec1ba2a137ca8416a462419f385c.tar.gz
bcm5719-llvm-52ea27db178dec1ba2a137ca8416a462419f385c.zip
Match GCC's behaviour for these sections.
llvm-svn: 46916
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 8728def217c..90270ad2f08 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -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";
OpenPOWER on IntegriCloud