unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a $ prefix...
authorDiego Novillo <dnovillo@cygnus.com>
Tue, 17 Oct 2000 18:47:47 +0000 (18:47 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Tue, 17 Oct 2000 18:47:47 +0000 (14:47 -0400)
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.

From-SVN: r36906

gcc/ChangeLog
gcc/config/i386/unix.h

index ddd043f..6d2526b 100644 (file)
@@ -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.
index eea359c..ebe70ea 100644 (file)
@@ -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);                                               \