[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

Nate Begeman natebegeman at mac.com
Wed Jul 26 18:13:21 PDT 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCAsmPrinter.cpp updated: 1.188 -> 1.189
---
Log message:

Support jump tables when in PIC relocation model


---
Diffs of the changes:  (+2 -2)

 PPCAsmPrinter.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.188 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.189
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.188	Wed Jul 26 16:12:04 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp	Wed Jul 26 20:13:04 2006
@@ -282,8 +282,8 @@
         Data64bitsDirective = 0;       // we can't emit a 64-bit unit
       AlignmentIsInBytes = false;    // Alignment is by power of 2.
       ConstantPoolSection = "\t.const\t";
-      // FIXME: Conditionalize jump table section based on PIC
-      JumpTableSection = ".const";
+      JumpTableDataSection = ".const";
+      JumpTableTextSection = "\t.text";
       LCOMMDirective = "\t.lcomm\t";
       StaticCtorsSection = ".mod_init_func";
       StaticDtorsSection = ".mod_term_func";






More information about the llvm-commits mailing list