This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Make calls in virtual thunks local if possible
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: jason at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Jun 2003 08:53:04 -0700
- Subject: Re: [PATCH] Make calls in virtual thunks local if possible
- References: <20030623152017.GA20507@sunsite.ms.mff.cuni.cz>
On Mon, Jun 23, 2003 at 05:20:17PM +0200, Jakub Jelinek wrote:
> * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
> just SYMBOL_REF.
>
> * 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.
Looks good.
r~