Remove a redundant newline in the asm output for ELF .rodata sections.
authorDan Gohman <gohman@apple.com>
Wed, 27 Jun 2007 15:09:47 +0000 (15:09 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 27 Jun 2007 15:09:47 +0000 (15:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37756 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetAsmInfo.cpp

index c55c4caa07ee997f22fcb80dc8a13c8e0e608ef3..dbf202cb3b521f0592e1170362530daf68c11b24 100644 (file)
@@ -98,7 +98,7 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
     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";