Commit c1f9de5a by Diego Novillo Committed by Diego Novillo

unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using appropriate assembler dialect.

2000-10-13  Diego Novillo  <dnovillo@cygnus.com>

	* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
	appropriate assembler dialect.

From-SVN: r36887
parent 11f3dc89
...@@ -47,6 +47,11 @@ ...@@ -47,6 +47,11 @@
* gcc.texi (Contributing): Update. * gcc.texi (Contributing): Update.
2000-10-13 Diego Novillo <dnovillo@cygnus.com>
* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
appropriate assembler dialect.
2000-10-13 Alexandre Oliva <aoliva@redhat.com> 2000-10-13 Alexandre Oliva <aoliva@redhat.com>
* c-common.c (c_expand_builtin): PARAMS-ize prototype. * c-common.c (c_expand_builtin): PARAMS-ize prototype.
......
...@@ -118,9 +118,11 @@ do { \ ...@@ -118,9 +118,11 @@ do { \
ASM_OUTPUT_INTERNAL_LABEL (FILE, "L", CODE_LABEL_NUMBER (xops[1])); \ ASM_OUTPUT_INTERNAL_LABEL (FILE, "L", CODE_LABEL_NUMBER (xops[1])); \
output_asm_insn ("pop{l}\t%0", xops); \ 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); \
fprintf (FILE, "\tmovl "); \ xops[0] = gen_rtx_MEM (SImode, XEXP (DECL_RTL (FUNCTION), 0)); \
assemble_name (FILE, XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0)); \ output_asm_insn ("mov{l}\t{%0@GOT(%%ebx), %%ecx|%%ecx, %0@GOT[%%ebx]}",\
fprintf (FILE, "@GOT(%%ebx),%%ecx\n\tpopl %%ebx\n\tjmp *%%ecx\n"); \ xops); \
asm_fprintf (FILE, "\tpop{l\t%%ebx|\t%%ebx}\n"); \
asm_fprintf (FILE, "\tjmp\t{*%%ecx|%%ecx}\n"); \
} \ } \
else \ else \
{ \ { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment