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
This commit is contained in:
Chris Lattner 2006-05-09 16:41:59 +00:00
parent 219f1b535d
commit c8d37c6e14

View File

@ -68,7 +68,7 @@ void AsmPrinter::SwitchToTextSection(const char *NewSection,
const GlobalValue *GV) {
std::string NS;
if (GV && GV->hasSection())
NS = GV->getSection();
NS = SwitchToSectionDirective + GV->getSection();
else
NS = NewSection;