This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch 29/36][sh] Hookize static chain and trampoline macros
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, kkojima at gcc dot gnu dot org
- Date: Tue, 22 Sep 2009 17:44:26 -0300
- Subject: Re: [patch 29/36][sh] Hookize static chain and trampoline macros
- References: <4AB7F353.3060707@redhat.com> <4AB80A55.1040905@redhat.com>
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