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 29/36][sh] Hookize static chain and trampoline macros


On Sep 21, 2009, Richard Henderson <rth@redhat.com> wrote:

> 	* config/sh/sh-protos.h (sh_initialize_trampoline): Remove.
> 	* config/sh/sh.c (TARGET_TRAMPOLINE_INIT): New.
> 	(TARGET_TRAMPOLINE_ADJUST_ADDRESS): New.
> 	(sh_trampoline_init): Rename from sh_initialize_trampoline;
> 	make static; adjust for target hook parameters.
> 	(sh_trampoline_adjust_address): New.
> 	* config/sh/sh.h (INITIALIZE_TRAMPOLINE): New.
> 	(TRAMPOLINE_ADJUST_ADDRESS): Move code to sh_trampoline_adjust_address.

This looks good, thanks.

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer


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