summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-09 16:41:59 +0000
committerChris Lattner <sabre@nondot.org>2006-05-09 16:41:59 +0000
commitf801792e087436d56b3a9d4ccdfde89145d3e5d1 (patch)
tree345cdf1a8eb5eee926601449bc7c81ee9ac92a10 /llvm/lib/CodeGen
parent2814134a5d7c8d95bb6f2ce1f26fdd18943f8922 (diff)
downloadbcm5719-llvm-f801792e087436d56b3a9d4ccdfde89145d3e5d1.tar.gz
bcm5719-llvm-f801792e087436d56b3a9d4ccdfde89145d3e5d1.zip
Fix a regression in my patch from last night that broke the llvmgcc4 build on
ppc llvm-svn: 28205
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp
index d95b6911927..db677939248 100644
--- a/llvm/lib/CodeGen/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter.cpp
@@ -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;
OpenPOWER on IntegriCloud