Fix a regression in my patch from last night that broke the llvmgcc4 build on
ppc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28205 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index d95b691..db67793 100644
--- a/lib/CodeGen/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter.cpp
@@ -68,7 +68,7 @@
const GlobalValue *GV) {
std::string NS;
if (GV && GV->hasSection())
- NS = GV->getSection();
+ NS = SwitchToSectionDirective + GV->getSection();
else
NS = NewSection;