diff options
| author | Nate Begeman <natebegeman@mac.com> | 2006-08-12 21:29:52 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2006-08-12 21:29:52 +0000 |
| commit | 52a51e38dc312aa262b0d771419afe1785f3cb22 (patch) | |
| tree | 2e3c7c10a0434eaf7880b1ebaa3510f541a243a8 /lib/Target/PowerPC/PPCAsmPrinter.cpp | |
| parent | f6e190fae02174d465ae1f9000192269a5978c73 (diff) | |
Emit .set directives for jump table entries when possible, which reduces
the number of relocations in object files, shrinkifying them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index bf9c608d51..5850682005 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -276,6 +276,7 @@ namespace { 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 |
