Fix a regression in my patch from last night that broke the llvmgcc4 build on

ppc

llvm-svn: 28205
This commit is contained in:
Chris Lattner 2006-05-09 16:41:59 +00:00
parent 2814134a5d
commit f801792e08
1 changed files with 1 additions and 1 deletions

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;