summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-06-27 15:09:47 +0000
committerDan Gohman <gohman@apple.com>2007-06-27 15:09:47 +0000
commit1cbdcac409764cbba2057605a19ac5b0bd1084c3 (patch)
treed735d03d253f6053bb92d45f822644b7a762f2dc /llvm/lib/Target/X86/X86TargetAsmInfo.cpp
parent7139a4805773446de1479fe054d451ed953c8d79 (diff)
downloadbcm5719-llvm-1cbdcac409764cbba2057605a19ac5b0bd1084c3.tar.gz
bcm5719-llvm-1cbdcac409764cbba2057605a19ac5b0bd1084c3.zip
Remove a redundant newline in the asm output for ELF .rodata sections.
llvm-svn: 37756
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
index c55c4caa07e..dbf202cb3b5 100644
--- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/llvm/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";
OpenPOWER on IntegriCloud