aboutsummaryrefslogtreecommitdiffstats
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
commit4b93e85820148d893d1984ff4c630664b0aa4636 (patch)
tree9599dac18be01b97c20b3da872a54e5d49fd6a0f
parent9a58b8aa08c910b010c3ae2c379275ab7d7d97a0 (diff)
downloadexternal_llvm-4b93e85820148d893d1984ff4c630664b0aa4636.zip
external_llvm-4b93e85820148d893d1984ff4c630664b0aa4636.tar.gz
external_llvm-4b93e85820148d893d1984ff4c630664b0aa4636.tar.bz2
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 8728def..90270ad 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";