aboutsummaryrefslogtreecommitdiff
path: root/lib
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
commitf94a3273617e7f28518e871516a24ddc272bb1e8 (patch)
tree7ce4140c2f1b0af3df419f612240825299755ffb /lib
parent0dba0e5408e999e9c46006a12a92155a961a574c (diff)
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
Diffstat (limited to 'lib')
-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 07797438b5..3ed7265840 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);