summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 17:11:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 17:11:40 +0000
commitf64f18160cab2dce5296ca38e8329e0fb80ac991 (patch)
tree1d8b8ef9462045f54efd9f93bba5aa0bbfb03f83 /c
parent2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-f64f18160cab2dce5296ca38e8329e0fb80ac991.tar.bz2
2001-10-12 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: _CPU_Context_save_fp in was incorrectly in conditional compilation block with (CPU_HARDWARE_FP == FALSE). Reported by Wayne Bullaughey <wayne@wmi.com>.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/score/cpu/mips/ChangeLog6
-rw-r--r--c/src/exec/score/cpu/mips/cpu_asm.S4
2 files changed, 8 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/mips/ChangeLog b/c/src/exec/score/cpu/mips/ChangeLog
index 5b3439971a..35ece7d8e0 100644
--- a/c/src/exec/score/cpu/mips/ChangeLog
+++ b/c/src/exec/score/cpu/mips/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-12 Joel Sherrill <joel@OARcorp.com>
+
+ * cpu_asm.S: _CPU_Context_save_fp in was incorrectly in conditional
+ compilation block with (CPU_HARDWARE_FP == FALSE). Reported by
+ Wayne Bullaughey <wayne@wmi.com>.
+
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
diff --git a/c/src/exec/score/cpu/mips/cpu_asm.S b/c/src/exec/score/cpu/mips/cpu_asm.S
index dfd364d249..a259bd9006 100644
--- a/c/src/exec/score/cpu/mips/cpu_asm.S
+++ b/c/src/exec/score/cpu/mips/cpu_asm.S
@@ -165,7 +165,7 @@
* );
*/
-#if ( CPU_HARDWARE_FP == FALSE )
+#if ( CPU_HARDWARE_FP == TRUE )
FRAME(_CPU_Context_save_fp,sp,0,ra)
.set noat
ld a1,(a0)
@@ -226,7 +226,7 @@ ENDFRAME(_CPU_Context_save_fp)
* )
*/
-#if ( CPU_HARDWARE_FP == FALSE )
+#if ( CPU_HARDWARE_FP == TRUE )
FRAME(_CPU_Context_restore_fp,sp,0,ra)
.set noat
ld a1,(a0)