Fix bug where SwitchSection would fail to change to ".bss" successfully.

llvm-svn: 14685
This commit is contained in:
Brian Gaeke 2004-07-08 08:08:23 +00:00
parent 4fdd22b922
commit 3b204c3f24
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ static void SwitchSection(std::ostream &OS, std::string &CurSection,
if (CurSection != NewSection) {
CurSection = NewSection;
if (!CurSection.empty())
OS << "\t" << NewSection << "\n";
OS << "\t.section " << NewSection << "\n";
}
}