From 16b0bd6c83821e6f56631c10717e5d0b6bab5cc0 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sun, 10 Feb 2008 00:03:54 +0000 Subject: [PATCH] Match GCC's behaviour for these sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46916 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCTargetAsmInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp index 8728def217c..90270ad2f08 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"; -- 2.34.1