summaryrefslogtreecommitdiff
path: root/gcc/config/i386/unix.h
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-16 16:07:25 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-16 16:07:25 +0000
commit7a6b4da5c4203ba7b7bebae70d99d398091fd690 (patch)
tree90324e3e14186853c67f8266be58f90956d5e5ec /gcc/config/i386/unix.h
parentb154a005864a20b0b390230815097ece419c58d8 (diff)
downloadgcc-7a6b4da5c4203ba7b7bebae70d99d398091fd690.tar.gz
2000-12-15 Diego Novillo <dnovillo@redhat.com>
* i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to _GLOBAL_OFFSET_TABLE_ when using Intel syntax. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38308 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/unix.h')
-rw-r--r--gcc/config/i386/unix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/unix.h b/gcc/config/i386/unix.h
index ebe70eaa2b6..939b7167da8 100644
--- a/gcc/config/i386/unix.h
+++ b/gcc/config/i386/unix.h
@@ -117,7 +117,7 @@ do { \
output_asm_insn ("call\t%P1", xops); \
ASM_OUTPUT_INTERNAL_LABEL (FILE, "L", CODE_LABEL_NUMBER (xops[1])); \
output_asm_insn ("pop{l}\t%0", xops); \
- output_asm_insn ("add{l}\t{$}_GLOBAL_OFFSET_TABLE_+[.-%P1], %0", xops); \
+ output_asm_insn ("add{l}\t{$_GLOBAL_OFFSET_TABLE_+[.-%P1], %0|%0, OFFSET FLAT: _GLOBAL_OFFSET_TABLE_+[.-%P1]}", xops); \
xops[0] = gen_rtx_MEM (SImode, XEXP (DECL_RTL (FUNCTION), 0)); \
output_asm_insn ("mov{l}\t{%0@GOT(%%ebx), %%ecx|%%ecx, %0@GOT[%%ebx]}",\
xops); \