crti.asm: Add changes for mips16.
authorEric Christopher <echristo@gcc.gnu.org>
Wed, 6 Feb 2002 02:50:09 +0000 (02:50 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Wed, 6 Feb 2002 02:50:09 +0000 (02:50 +0000)
commit282cb01bc29cdac825eedc4b8ad74085c2d76918
tree9337895f122027be87b47a40122704463955bf79
parent8c78e3a3cdfb624d8f2d232a2d03ee78c6e633eb
crti.asm: Add changes for mips16.

2002-02-05  Eric Christopher  <echristo@redhat.com>

* config/mips/crti.asm: Add changes for mips16. mips16 uses
register 7 as RA instead of $31.
* config/mips/crtn.asm: Ditto.
* config/mips/mips.c (mips_move_2words): Add case for
TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
(compute_frame_size): Fix typo.
(save_restore_insns): Ditto.  Make documentation about using
register $7 as return register more precise.
(mips_expand_epilogue): Fix comment. Add code to work around not
being able to add to the stack pointer directly.
* config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
epilogue.

From-SVN: r49535
gcc/config/mips/crti.asm
gcc/config/mips/crtn.asm
gcc/config/mips/mips.c
gcc/config/mips/mips.h