* config/mips/mips-protos.h (mips16_gp_pseudo_reg): Remove.
commitc804073c1372d1de35457cec4e61a1ccec51420a
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Sep 2003 07:38:14 +0000 (28 07:38 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Sep 2003 07:38:14 +0000 (28 07:38 +0000)
tree6e943b90088c949f0ca439b0be600d27823216ab
parent3541e1130504244cf334a9d3f471377bd276c949
* config/mips/mips-protos.h (mips16_gp_pseudo_reg): Remove.
* config/mips/mips.h (LEGITIMATE_CONSTANT_P): Remove orphaned comment.
* config/mips/mips.c (mips_reloc_offset_ok_p): New function.
(mips_classify_constant): Use it.
(mips_splittable_symbol_p): Add an offset argument.
(mips_classify_address): Adjust call accordingly.
(mips_legitimize_symbol): Handle sdata references with LO_SUM rather
than a relocation unspec.  Update call to mips_splittable_symbol_p.
Generalize the code that copes with symbols + invalid offsets.
(print_operand): Allow '%R' to be applied to small data addresses.
(mips_reloc_string): Remove RELOC_GPREL16.
(mips_sdata_pointer): Renamed from mips16_gp_pseudo_reg.  Return $gp
for TARGET_EXPLICIT_RELOCS.  Return null if we can't use gp-relative
relocation operators.
* config/mips/mips.md (RELOC_GPREL16): Remove.  Shuffle other reloc
constants accordingly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71876 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20030928-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/mips-sdata-1.c