summaryrefslogtreecommitdiff
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
commit16b0bd6c83821e6f56631c10717e5d0b6bab5cc0 (patch)
tree9599dac18be01b97c20b3da872a54e5d49fd6a0f
parentfea2be50b97c535bc0702b4d245848116d7261a6 (diff)
downloadllvm-16b0bd6c83821e6f56631c10717e5d0b6bab5cc0.tar.gz
llvm-16b0bd6c83821e6f56631c10717e5d0b6bab5cc0.tar.bz2
llvm-16b0bd6c83821e6f56631c10717e5d0b6bab5cc0.tar.xz
Match GCC's behaviour for these sections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46916 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCTargetAsmInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 8728def217..90270ad2f0 100644
--- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/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";