[llvm-commits] [llvm] r60497 - /llvm/trunk/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp

Dale Johannesen dalej at apple.com
Wed Dec 3 11:33:12 PST 2008


Author: johannes
Date: Wed Dec  3 13:33:10 2008
New Revision: 60497

URL: http://llvm.org/viewvc/llvm-project?rev=60497&view=rev
Log:
A step towards geting linux ppc to work (see PR 3099)


Modified:
    llvm/trunk/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp

Modified: llvm/trunk/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp?rev=60497&r1=60496&r2=60497&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp Wed Dec  3 13:33:10 2008
@@ -613,6 +613,8 @@
   // Print out jump tables referenced by the function.
   EmitJumpTableInfo(MF.getJumpTableInfo(), MF);
 
+  SwitchToSection(TAI->SectionForGlobal(F));
+
   // Emit post-function debug information.
   DW.EndFunction(&MF);
 





More information about the llvm-commits mailing list