forked from OSchip/llvm-project
Fix bug where SwitchSection would fail to change to ".bss" successfully.
llvm-svn: 14685
This commit is contained in:
parent
4fdd22b922
commit
3b204c3f24
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue