This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make calls in virtual thunks local if possible


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]