summaryrefslogtreecommitdiff
path: root/lib/MC/MCSection.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-09 15:31:10 +0000
committerChris Lattner <sabre@nondot.org>2009-08-09 15:31:10 +0000
commit1f8e8db8fcbe256796c380aa3784f39b334c9d74 (patch)
treeb05dd2f5c646c0479c60e93fb1f4a51ee027aab0 /lib/MC/MCSection.cpp
parentdb2ddb5dc57319eff249144f1d9a553a3278d2e0 (diff)
downloadllvm-1f8e8db8fcbe256796c380aa3784f39b334c9d74.tar.gz
llvm-1f8e8db8fcbe256796c380aa3784f39b334c9d74.tar.bz2
llvm-1f8e8db8fcbe256796c380aa3784f39b334c9d74.tar.xz
always end a section with \n on elf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCSection.cpp')
-rw-r--r--lib/MC/MCSection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MCSection.cpp b/lib/MC/MCSection.cpp
index 80a80e7d8d..65e86d3b40 100644
--- a/lib/MC/MCSection.cpp
+++ b/lib/MC/MCSection.cpp
@@ -107,6 +107,8 @@ void MCSectionELF::PrintSwitchToSection(const TargetAsmInfo &TAI,
OS << ",16";
}
}
+
+ OS << '\n';
}
//===----------------------------------------------------------------------===//