aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/unix.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ddd043f..6d2526b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2000-10-17 Diego Novillo <dnovillo@cygnus.com>
+
+ * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
+ _GLOBAL_OFFSET_TABLE should not have a $ prefix when
+ using -mintel-syntax.
+
2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
diff --git a/gcc/config/i386/unix.h b/gcc/config/i386/unix.h
index eea359c..ebe70ea 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", 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); \