OSDN Git Service

* config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Mar 2002 19:12:50 +0000 (19:12 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Mar 2002 19:12:50 +0000 (19:12 +0000)
commitd04e6ab6bbe8334828862f25af5cfd209f4911eb
tree4e4b9698d928cf6d504ebd00c1f28d4105e3e52f
parent7ad1c420add564fab84ea266ee96a8876666d8ec
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50985 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips.h
gcc/config/mips/mips.md