mips-protos.h (enum mips_symbol_type): Move from mips.h.
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 1 Mar 2004 19:40:10 +0000 (19:40 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 1 Mar 2004 19:40:10 +0000 (19:40 +0000)
commite245bd81a7f00b326e92b716bb2a852acd9a7d1d
treeed5c222d0fdded51607466b60be82b76a52949be
parentd0fe5ad3fdd9cead5941c0014822cbf07ee4e162
mips-protos.h (enum mips_symbol_type): Move from mips.h.

* config/mips/mips-protos.h (enum mips_symbol_type): Move from mips.h.
(NUM_SYMBOL_TYPES): Likewise.
(SYMBOL_64_HIGH, SYMBOL_64_MID, SYMBOL_64_LOW): New symbol types.
(mips_unspec_address): Declare.
(mips_gotoff_page, mips_gotoff_global): Delete.
* config/mips/mips.h (PREDICATE_CODES): Add general_symbolic_operand.
* config/mips/mips.c (enum mips_symbol_type, NUM_SYMBOL_TYPES): Delete.
(mips_symbolic_constant_p, mips_symbolic_address_p)
(mips_symbol_insns): Handle new symbol types.
(general_symbolic_operand): New predicate.
(mips_unspec_address): Make extern.
(mips_gotoff_page, mips_gotoff_global): Delete.
(override_options): Allow -mabi=64 -mno-abicalls -mexplicit-relocs.
Handle new symbol types.
* config/mips/mips.md (*lea_high64, *lea64): New patterns.
(*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_disp[sd]i): Call
mips_unspec_address directly.
* doc/invoke.texi: Remove the -mabi=64 -mno-abicalls exception from
the documentation of -mexplicit-relocs.

From-SVN: r78718
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.md
gcc/doc/invoke.texi