diff options
author | Michael Meissner <gnu@the-meissners.org> | 2001-09-11 14:24:35 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 2001-09-11 14:24:35 +0000 |
commit | 24b1ccc647ca9830c51521583b527f67540a9ee2 (patch) | |
tree | 0c480827992225d527d80e08449c3ffe2aab4f21 | |
parent | 24a930fa23ef977dffea3ba331a94c7cb1c1fe61 (diff) | |
download | cygnal-24b1ccc647ca9830c51521583b527f67540a9ee2.tar.gz cygnal-24b1ccc647ca9830c51521583b527f67540a9ee2.tar.bz2 cygnal-24b1ccc647ca9830c51521583b527f67540a9ee2.zip |
If -mfp32, do not enable 64-bit FPR registers on mips3
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/mips/crt0.S | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 44790b28f..2034b876b 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2001-09-11 Michael Meissner <meissner@redhat.com> + + * mips/crt0.S (_start): If -mfp32, don't enable 64-bit floating + point registers, even if we are compiling for a mips3 or greater. + 2001-09-10 Jim Blandy <jimb@redhat.com> Add support for GDB monitor-style I/O. diff --git a/libgloss/mips/crt0.S b/libgloss/mips/crt0.S index 00a398c25..8bd46ebf0 100644 --- a/libgloss/mips/crt0.S +++ b/libgloss/mips/crt0.S @@ -1,7 +1,7 @@ /* * crt0.S -- startup file for MIPS. * - * Copyright (c) 1995, 1996, 1997 Cygnus Support + * Copyright (c) 1995, 1996, 1997, 2001 Cygnus Support * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided @@ -64,7 +64,7 @@ _start: nop move s0,$31 #endif -#if __mips < 3 +#if (__mips < 3) || (__mips_fpr==32) #define STATUS_MASK (SR_CU1|SR_PE) #else # For mips3 or mips4, turn on 64-bit addressing and additional float regs |