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] Hookize ALLOCATE_INITIAL_VALUE


On Sun, Jun 26, 2005 at 09:15:27AM +0900, Kaz Kojima wrote:
> 	* target.h (gcc_target): New field allocate_initial_value.
> 	* target-def.h (TARGET_ALLOCATE_INITIAL_VALUE): New macro.
> 	(TARGET_INITIALIZER): Include it.
> 	* integrate.c (allocate_initial_values): Use
> 	targetm.allocate_initial_value.
> 	* config/sh/sh-protos.h (sh_pr_n_sets): Delete.
> 	* config/sh/sh.c (sh_pr_n_sets): Make it static.
> 	(sh_allocate_initila_value): New function.
> 	(TARGET_ALLOCATE_INITIAL_VALUE): Override default.
> 	* config/sh/sh.h (ALLOCATE_INITIAL_VALUE): Delete.
> 	* doc/tm.texi (TARGET_ALLOCATE_INITIAL_VALUE): Rename and
> 	update from ALLOCATE_INITIAL_VALUE.

Ok.  Don't forget to poison the old macro.


r~


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