From 61af04fa0a205eea6f76a7e2053caa3c75860354 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sat, 16 Aug 2008 12:58:46 +0000 Subject: [PATCH] Use proper strings section name for PPC llvm-svn: 54846 --- lib/Target/PowerPC/PPCTargetAsmInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp index 2fd9c2b001a..dc863e2d6ed 100644 --- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp +++ b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp @@ -111,7 +111,7 @@ PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) : PrivateGlobalPrefix = ""; ConstantPoolSection = "\t.section .rodata.cst4\t"; JumpTableDataSection = ".section .rodata.cst4"; - CStringSection = "\t.section\t.rodata"; + CStringSection = ".rodata.str"; StaticCtorsSection = ".section\t.ctors,\"aw\",@progbits"; StaticDtorsSection = ".section\t.dtors,\"aw\",@progbits"; UsedDirective = "\t# .no_dead_strip\t";