unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a $ prefix when using -mintel-syntax.

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
This commit is contained in:
Diego Novillo 2000-10-17 18:47:47 +00:00 committed by Diego Novillo
parent b691cb00a8
commit 69ac483175
2 changed files with 7 additions and 1 deletions

View 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.

View 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); \