i386.c (x86_output_mi_thunk): Don't pass MEM to %P0, just SYMBOL_REF.
authorJakub Jelinek <jakub@redhat.com>
Mon, 23 Jun 2003 20:52:14 +0000 (22:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 23 Jun 2003 20:52:14 +0000 (22:52 +0200)
commit89ce1c8f763e1c3485d97d3c8c74f75f94bf0e09
treed7c9b0e8e53eafd5f6f0295ca3b1bf6241af32c5
parent11405c93c09fb95c29b83bb6d8dccb0bed0e4d89
i386.c (x86_output_mi_thunk): Don't pass MEM to %P0, just SYMBOL_REF.

* config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
just SYMBOL_REF.
* config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
mode, as it requires pic register loaded.

* varasm.c (resolve_unique_section): Remove prototype.  No longer
static.
* tree.h (resolve_unique_section): New prototype.
cp/
* method.c (thunk_labelno): New variable.
(make_alias_for_thunk): New function.
(use_thunk): Use it if defined ASM_OUTPUT_DEF.  Put the thunk
into the same section as the function it is calling.
Include gt-cp-method.h.
* Make-lang.in (gt-cp-method.h): Depend on s-gtype.
(cp/method.o): Depend on gt-cp-method.h.
* config-lang.in (gtfiles): Add $(srcdir)/cp/method.c.

From-SVN: r68389
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/s390/s390.c
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/config-lang.in
gcc/cp/method.c
gcc/tree.h
gcc/varasm.c