aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2000-12-16 16:07:25 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2000-12-16 11:07:25 -0500
commit112550d37d28d2c074e24b0799bf8fa09fac4cb0 (patch)
tree90324e3e14186853c67f8266be58f90956d5e5ec /gcc
parent67011d8196bb6cd0da469cfe0096aba5aaf5b93e (diff)
downloadgcc-112550d37d28d2c074e24b0799bf8fa09fac4cb0.zip
gcc-112550d37d28d2c074e24b0799bf8fa09fac4cb0.tar.gz
gcc-112550d37d28d2c074e24b0799bf8fa09fac4cb0.tar.bz2
unix.h (ASM_OUTPUT_MI_THUNK): Fix references to _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
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. From-SVN: r38308
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/unix.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3bf8528..4c8093f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -14,6 +14,11 @@ Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
(do_line): Skip the new line after output_line_command. Don't
pre-decrement the line number.
+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.
+
2000-12-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c (cpp_options): Pass -fno-operator-names.
diff --git a/gcc/config/i386/unix.h b/gcc/config/i386/unix.h
index ebe70ea..939b716 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); \