Index: gcc/config/i386/i386.md |
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md |
index 59c02d088eda0544088f959cae833cd28ad15915..8dc1bdde0c8f1285b4ac072bceec79f67f0c0fe5 100644 |
--- a/gcc/config/i386/i386.md |
+++ b/gcc/config/i386/i386.md |
@@ -16450,7 +16450,11 @@ |
(unspec:DI [(match_operand:DI 1 "tls_symbolic_operand" "")] |
UNSPEC_TLS_GD)] |
"TARGET_64BIT" |
- { return ".byte\t0x66\n\tlea{q}\t{%a1@TLSGD(%%rip), %%rdi|rdi, %a1@TLSGD[rip]}\n" ASM_SHORT "0x6666\n\trex64\n\tcall\t%P2"; } |
+{ |
+ if (TARGET_NACL) |
+ return "\tlea{q}\t{%a1@TLSGD(%%rip), %%rdi|rdi, %a1@TLSGD[rip]}\n\tcall\t%P2"; |
+ return ".byte\t0x66\n\tlea{q}\t{%a1@TLSGD(%%rip), %%rdi|rdi, %a1@TLSGD[rip]}\n" ASM_SHORT "0x6666\n\trex64\n\tcall\t%P2"; |
khim
2011/04/19 15:26:23
Why not if )...) return ...; else return ... ?
Th
|
+} |
[(set_attr "type" "multi") |
(set_attr "length" "16")]) |