[llvm-commits] [llvm] r54541 - /llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.cpp
Anton Korobeynikov
asl at math.spbu.ru
Fri Aug 8 11:25:30 PDT 2008
Author: asl
Date: Fri Aug 8 13:25:29 2008
New Revision: 54541
URL: http://llvm.org/viewvc/llvm-project?rev=54541&view=rev
Log:
Use mergeable strings sections on sparc
Modified:
llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.cpp?rev=54541&r1=54540&r2=54541&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/SparcTargetAsmInfo.cpp Fri Aug 8 13:25:29 2008
@@ -24,6 +24,7 @@
CommentString = "!";
ConstantPoolSection = "\t.section \".rodata\",#alloc\n";
COMMDirectiveTakesAlignment = true;
+ CStringSection=".rodata.str";
}
std::string SparcELFTargetAsmInfo::PrintSectionFlags(unsigned flags) const {
More information about the llvm-commits
mailing list