summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86AsmPrinter.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-08-12 21:29:52 +0000
committerNate Begeman <natebegeman@mac.com>2006-08-12 21:29:52 +0000
commit984c1a4a8f547f4dbf6272a247bdde3a9f78c381 (patch)
tree641a90fc51f9f67ace633dd7eae8905c917484c8 /llvm/lib/Target/X86/X86AsmPrinter.cpp
parent095e4ad2ea86191df9d5583b71a9182d63267cb0 (diff)
downloadbcm5719-llvm-984c1a4a8f547f4dbf6272a247bdde3a9f78c381.tar.gz
bcm5719-llvm-984c1a4a8f547f4dbf6272a247bdde3a9f78c381.zip
Emit .set directives for jump table entries when possible, which reduces
the number of relocations in object files, shrinkifying them. llvm-svn: 29650
Diffstat (limited to 'llvm/lib/Target/X86/X86AsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/X86/X86AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86AsmPrinter.cpp b/llvm/lib/Target/X86/X86AsmPrinter.cpp
index 4981964094f..9e862e8c6fa 100644
--- a/llvm/lib/Target/X86/X86AsmPrinter.cpp
+++ b/llvm/lib/Target/X86/X86AsmPrinter.cpp
@@ -72,6 +72,7 @@ bool X86SharedAsmPrinter::doInitialization(Module &M) {
StaticDtorsSection = ".mod_term_func";
InlineAsmStart = "# InlineAsm Start";
InlineAsmEnd = "# InlineAsm End";
+ SetDirective = "\t.set";
break;
case X86Subtarget::isCygwin:
GlobalPrefix = "_";
OpenPOWER on IntegriCloud