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\",@progbits,4";
     EightByteConstantSection = "\t.section\t.rodata.cst8,\"aM\",@progbits,8";
     SixteenByteConstantSection = 
"\t.section\t.rodata.cst16,\"aM\",@progbits,16";



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to