OSDN Git Service

A step towards geting linux ppc to work (see PR 3099)
authorDale Johannesen <dalej@apple.com>
Wed, 3 Dec 2008 19:33:10 +0000 (19:33 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 3 Dec 2008 19:33:10 +0000 (19:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60497 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp

index 0779743..3ed7265 100644 (file)
@@ -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);