diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-08 08:08:23 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-08 08:08:23 +0000 |
commit | 7e540fe2b6343b1481f492ed599a0261dc1bd413 (patch) | |
tree | 0fa4346c4fba0bb101979622b598d353b0b3d3cf /lib/Target/Sparc | |
parent | ccdd70a5c0ac13020a5843b962b5a4bcc9a6559c (diff) |
Fix bug where SwitchSection would fail to change to ".bss" successfully.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcAsmPrinter.cpp b/lib/Target/Sparc/SparcAsmPrinter.cpp index 46b0d4fff0..64060abae6 100644 --- a/lib/Target/Sparc/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/SparcAsmPrinter.cpp @@ -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"; } } |