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

Nate Begeman natebegeman at mac.com
Sat Aug 12 14:30:12 PDT 2006



Changes in directory llvm/lib/Target/PowerPC:

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

Emit .set directives for jump table entries when possible, which reduces
the number of relocations in object files, shrinkifying them.


---
Diffs of the changes:  (+1 -0)

 PPCAsmPrinter.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.189 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.190
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.189	Wed Jul 26 20:13:04 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp	Sat Aug 12 16:29:52 2006
@@ -276,6 +276,7 @@
       GlobalPrefix = "_";
       PrivateGlobalPrefix = "L";     // Marker for constant pool idxs
       ZeroDirective = "\t.space\t";  // ".space N" emits N zeros.
+      SetDirective = "\t.set";
       if (isPPC64)
         Data64bitsDirective = ".quad\t";       // we can't emit a 64-bit unit
       else






More information about the llvm-commits mailing list