aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Sparc/SparcAsmPrinter.cpp2
-rw-r--r--lib/Target/SparcV8/SparcV8AsmPrinter.cpp2
2 files changed, 2 insertions, 2 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";
}
}
diff --git a/lib/Target/SparcV8/SparcV8AsmPrinter.cpp b/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
index 46b0d4fff0..64060abae6 100644
--- a/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
+++ b/lib/Target/SparcV8/SparcV8AsmPrinter.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";
}
}