[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetAsmInfo.cpp

Dan Gohman djg at cray.com
Wed Jun 27 08:10:06 PDT 2007



Changes in directory llvm/lib/Target/X86:

X86TargetAsmInfo.cpp updated: 1.42 -> 1.43
---
Log message:

Remove a redundant newline in the asm output for ELF .rodata sections.


---
Diffs of the changes:  (+1 -1)

 X86TargetAsmInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/X86/X86TargetAsmInfo.cpp
diff -u llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.42 llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.43
--- llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.42	Sat May 12 17:36:25 2007
+++ llvm/lib/Target/X86/X86TargetAsmInfo.cpp	Wed Jun 27 10:09:47 2007
@@ -98,7 +98,7 @@
     break;
 
   case X86Subtarget::isELF:
-    ReadOnlySection = "\t.section\t.rodata\n";
+    ReadOnlySection = "\t.section\t.rodata";
     FourByteConstantSection = "\t.section\t.rodata.cst4,\"aM\", at progbits,4";
     EightByteConstantSection = "\t.section\t.rodata.cst8,\"aM\", at progbits,8";
     SixteenByteConstantSection = "\t.section\t.rodata.cst16,\"aM\", at progbits,16";






More information about the llvm-commits mailing list