Makefile.in (targhooks.o, reload.o): Update dependencies.
authorRichard Sandiford <rsandifo@redhat.com>
Sun, 2 Nov 2003 09:34:54 +0000 (09:34 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 2 Nov 2003 09:34:54 +0000 (09:34 +0000)
commit0938c9e8fb1cdb88de2c3ff465835d18e049e813
tree417cb41087b6a363102c51ebf7a4358bd360b492
parente69cdc1237a4be0650026452ee57b886f1b1dbbe
Makefile.in (targhooks.o, reload.o): Update dependencies.

* Makefile.in (targhooks.o, reload.o): Update dependencies.
(GTFILES): Add targhooks.c.
(gt-targhooks.h): New rule; depend on s-gtype.
* target.h (direct_pool_load_p): New hook.
* target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
(TARGET_INITIALIZER): Include it.
* targhooks.h (default_direct_pool_load_p): Declare.
(hook_bool_machine_mode_true): Declare.
* targhooks.c: Include insn-config.h, recog.h, ggc.h and
gt-targhooks.h.
(pool_symbol): New variable.
(default_direct_pool_load_p): New function.
(hook_bool_machine_mode_true): New function.
* reload.c: Include target.h.
(find_reloads): If an alternative will force a constant into memory,
count an extra reload if constant pool symbols are not valid
addresses.  If an alternative uses memory to move values between
registers, count the move as two reloads rather than one.
* config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
* doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.

From-SVN: r73196
gcc/ChangeLog
gcc/Makefile.in
gcc/config/s390/s390.c
gcc/doc/tm.texi
gcc/reload.c
gcc/target-def.h
gcc/target.h
gcc/targhooks.c
gcc/targhooks.h