summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-12-03 19:33:10 +0000
committerDale Johannesen <dalej@apple.com>2008-12-03 19:33:10 +0000
commit5d84f685a89014559066f7806b49eb39b96c957e (patch)
treefd0678ae1bec70f0396dc8c5a8b3fffe3dbd7bbd
parent444baea236a9979daa0025c955a1d74fab5bfee4 (diff)
downloadbcm5719-llvm-5d84f685a89014559066f7806b49eb39b96c957e.tar.gz
bcm5719-llvm-5d84f685a89014559066f7806b49eb39b96c957e.zip
A step towards geting linux ppc to work (see PR 3099)
llvm-svn: 60497
-rw-r--r--llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
index 07797438b57..3ed72658401 100644
--- a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
@@ -613,6 +613,8 @@ bool PPCLinuxAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// Print out jump tables referenced by the function.
EmitJumpTableInfo(MF.getJumpTableInfo(), MF);
+ SwitchToSection(TAI->SectionForGlobal(F));
+
// Emit post-function debug information.
DW.EndFunction(&MF);
OpenPOWER on IntegriCloud