Makefile.in (rtlanal.o): Depend on tree.h.
commit7ffb5e78794b6d8f8094d7c928e6f0e94b62cad6
authorRichard Sandiford <richard@codesourcery.com>
Thu, 1 Mar 2007 09:58:12 +0000 (1 09:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 1 Mar 2007 09:58:12 +0000 (1 09:58 +0000)
tree81be2b5d29cc958cea52c2a7ebbe3c30b5b450ec
parent96e7e5ad47a3d455eeb64991e44b23f24c69719e
Makefile.in (rtlanal.o): Depend on tree.h.

gcc/
* Makefile.in (rtlanal.o): Depend on tree.h.
* rtl.h (offset_within_section_p, split_const): Declare.
* rtlanal.c: Include tree.h.
(offset_within_block_p): New function, taken from
mips_offset_within_object_p.
(split_const): New function, taken from mips_split_const.
* config/m68k/m68k-protos.h (m68k_illegitimate_symbolic_constant_p):
Declare.
* config/m68k/m68k.h (M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): Define.
(CONSTANT_ADDRESS_P): Only accept legitimate constants.
(LEGITIMATE_CONSTANT_P): Check m68k_illegitimate_symbolic_constant_p.
* config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Define.
(m68k_illegitimate_symbolic_constant_p): New function.
* config/m68k/m68k.md (movsi): Remove misleading predicates.
If M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P and the source is a
symbolic constant that might be outside the symbol's section,
move the symbol first and then add the offset.
* config/m68k/uclinux.h (M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P):
Override.
* config/mips/mips.c (mips_split_const): Delete.
(mips_offset_within_object_p): Delete.
(mips_symbolic_constant_p): Use offset_within_section_p and
split_const instead of mips_offset_within_object_p and
mips_split_const.
(mips_cannot_force_const_mem, mips_const_insns, mips_unspec_address)
(mips_legitimize_const_move, print_operand_reloc)
(mips_dangerous_for_la25_p): Use split_const instead of
mips_split_const.

From-SVN: r122428
gcc/ChangeLog
gcc/Makefile.in
gcc/config/m68k/m68k-protos.h
gcc/config/m68k/m68k.c
gcc/config/m68k/m68k.h
gcc/config/m68k/m68k.md
gcc/config/m68k/uclinux.h
gcc/config/mips/mips.c
gcc/rtl.h
gcc/rtlanal.c