changeset 261:72947dc266ac

Fix bug in load_fpu_regs
author gthomas
date Mon, 05 Aug 2002 12:49:46 +0000
parents 922ca26d90c4
children 3d3a7f481015
files packages/hal/powerpc/arch/current/ChangeLog packages/hal/powerpc/arch/current/include/arch.inc
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/powerpc/arch/current/ChangeLog
+++ b/packages/hal/powerpc/arch/current/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-05  Gary Thomas  <gary@chez-thomas.org>
+2002-08-05  Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be>	
+
+	* include/arch.inc: hal_fpu_load regs was not loading registers!
+
 2002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
 
 	* src/vectors.S:
--- a/packages/hal/powerpc/arch/current/include/arch.inc
+++ b/packages/hal/powerpc/arch/current/include/arch.inc
@@ -182,7 +182,7 @@ name:
 #ifdef CYGHWR_HAL_POWERPC_FPU
         .set _freg, 0
         .rept MAX_SAVE_FREG+1
-        stfd _freg,(CYGARC_PPCREG_FREGS+_freg*8)(\regs)
+        lfd _freg,(CYGARC_PPCREG_FREGS+_freg*8)(\regs)
         .set _freg, _freg+1
         .endr
 #endif