aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2001-09-15 02:09:52 +0000
committerEric Christopher <echristo@gcc.gnu.org>2001-09-15 02:09:52 +0000
commit6047ddc8da66080088c901e296c0408a24ad9989 (patch)
tree1f84eebc9ac3a75d656624d85a384eb4e35f0aa1 /gcc
parent0e5a4ad8710376a670f22139b797da01f180249b (diff)
downloadgcc-6047ddc8da66080088c901e296c0408a24ad9989.zip
gcc-6047ddc8da66080088c901e296c0408a24ad9989.tar.gz
gcc-6047ddc8da66080088c901e296c0408a24ad9989.tar.bz2
abi64.h: Add support for MEABI.
2001-09-15 Eric Christopher <echristo@redhat.com> * config/mips/abi64.h: Add support for MEABI. From-SVN: r45624
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/abi64.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 89c2c3b..44b33f1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2001-09-15 Eric Christopher <echristo@redhat.com>
+ * config/mips/abi64.h: Add support for MEABI.
+
+2001-09-15 Eric Christopher <echristo@redhat.com>
+
* config/mips/mips.md: Add unspec #2.
(reload_indi): Use.
(reload_outdi): Ditto.
diff --git a/gcc/config/mips/abi64.h b/gcc/config/mips/abi64.h
index 5be5f51..279874a 100644
--- a/gcc/config/mips/abi64.h
+++ b/gcc/config/mips/abi64.h
@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */
call_used_regs[regno] = 1; \
} \
/* odd registers from fp21 to fp31 are now caller saved. */ \
- if (mips_abi == ABI_N32) \
+ if (mips_abi == ABI_N32 || mips_abi == ABI_MEABI) \
{ \
int regno; \
for (regno = FP_REG_FIRST + 21; regno <= FP_REG_FIRST + 31; regno+=2) \
@@ -254,6 +254,3 @@ extern struct rtx_def *mips_function_value PARAMS ((union tree_node *, union tre
/* ??? Could optimize structure passing by putting the right register rtx
into the field decl, so that if we use the field, we can take the value from
a register instead of from memory. */
-
-
-