From: Dan Gohman Date: Wed, 27 Jun 2007 15:09:47 +0000 (+0000) Subject: Remove a redundant newline in the asm output for ELF .rodata sections. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6445f61806f595b87f8cff8e47c7bd7ee00b9519;p=oota-llvm.git Remove a redundant newline in the asm output for ELF .rodata sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37756 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index c55c4caa07e..dbf202cb3b5 100644 --- a/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/lib/Target/X86/X86TargetAsmInfo.cpp @@ -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";