mips.h (ELIMINABLE_REGS): Can't eliminate RETURN_ADDRESS_POINTER_REGNUM to $ra.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 18 Mar 2002 19:12:50 +0000 (19:12 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 18 Mar 2002 19:12:50 +0000 (19:12 +0000)
commit07e2e444ff04137a6a23cc646d1f98f2131c7c79
tree4e4b9698d928cf6d504ebd00c1f28d4105e3e52f
parenteb8e00ea233bb1c028719a1f1c1b7c574e13e0d8
mips.h (ELIMINABLE_REGS): Can't eliminate RETURN_ADDRESS_POINTER_REGNUM to $ra.

* config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
RETURN_ADDRESS_POINTER_REGNUM to $ra.
(CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
not needed.  Disregard leaf_function_p().
(INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
mips16 frame pointer.
* config/mips/mips.md (store ra): Only to small SP offsets.
2001-08-22  Graham Stott  <grahams@redhat.com>
* config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
return a REG rtx for the return address register.

From-SVN: r50985
gcc/ChangeLog
gcc/config/mips/mips.h
gcc/config/mips/mips.md