target.h (gcc_target): New field allocate_initial_value.
authorKaz Kojima <kkojima@gcc.gnu.org>
Wed, 29 Jun 2005 01:24:27 +0000 (01:24 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Wed, 29 Jun 2005 01:24:27 +0000 (01:24 +0000)
commitb48f503c9806fab41f3a9e484822b5b00dd31e0a
tree6e5206234e2011fe87ca88acfe08dfbe38d900ca
parentdcb081fc082c2c6ba19b6d82f5fa067d987c30d6
target.h (gcc_target): New field allocate_initial_value.

* 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.
* system.h: Poison 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.

From-SVN: r101411
gcc/ChangeLog
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/doc/tm.texi
gcc/integrate.c
gcc/system.h
gcc/target-def.h
gcc/target.h