aboutsummaryrefslogtreecommitdiffstats
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
commitdd9e1c924c309d18ad8af7982faa97eb15feb9cb (patch)
tree7ce4140c2f1b0af3df419f612240825299755ffb
parent37cc9be77ec9c314c58336101cd1abe730bf5440 (diff)
downloadexternal_llvm-dd9e1c924c309d18ad8af7982faa97eb15feb9cb.zip
external_llvm-dd9e1c924c309d18ad8af7982faa97eb15feb9cb.tar.gz
external_llvm-dd9e1c924c309d18ad8af7982faa97eb15feb9cb.tar.bz2
A step towards geting linux ppc to work (see PR 3099)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60497 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
index 0779743..3ed7265 100644
--- a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
+++ b/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);