From: Diego Novillo Date: Tue, 17 Oct 2000 18:47:47 +0000 (+0000) Subject: unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a $ prefix... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69ac483175ad09a6eafaee2528b0486d0ee968d5;p=gcc.git unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a $ prefix when using -mintel-syntax. 2000-10-17 Diego Novillo * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a $ prefix when using -mintel-syntax. From-SVN: r36906 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ddd043fb3a7..6d2526bf972 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-10-17 Diego Novillo + + * 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 * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define. diff --git a/gcc/config/i386/unix.h b/gcc/config/i386/unix.h index eea359cdf57..ebe70eaa2b6 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); \