commit | f801792e087436d56b3a9d4ccdfde89145d3e5d1 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue May 09 16:41:59 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue May 09 16:41:59 2006 +0000 |
tree | 345cdf1a8eb5eee926601449bc7c81ee9ac92a10 | |
parent | 2814134a5d7c8d95bb6f2ce1f26fdd18943f8922 [diff] [blame] |
Fix a regression in my patch from last night that broke the llvmgcc4 build on ppc llvm-svn: 28205
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index d95b691..db67793 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/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;