mips.c (mips_offset_within_object_p): New function.
authorRichard Sandiford <rsandifo@redhat.com>
Sun, 25 Jan 2004 21:27:37 +0000 (21:27 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 25 Jan 2004 21:27:37 +0000 (21:27 +0000)
commit62973ffe06db2e092d17cecd2e1db44500ac986f
tree013d98ff4c4b1fc8222ad86d9776d57120d7e799
parent8e67da213d262d9636501e9e96ec9894ed33f8ae
mips.c (mips_offset_within_object_p): New function.

* config/mips/mips.c (mips_offset_within_object_p): New function.
(mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and
SYMBOL_CONSTANT_POOL cases.  Also use it for SYMBOL_GENERAL if the
ABI has 64-bit pointers and the object file only allows 32-bit symbols.

From-SVN: r76586
gcc/ChangeLog
gcc/config/mips/mips.c