[kaffe] CVS kaffe (dalibor): Fixed SP_OFFSET on XScale

Kaffe CVS cvs-commits at kaffe.org
Tue Mar 9 10:09:02 PST 2004


PatchSet 4496 
Date: 2004/03/09 17:58:10
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed SP_OFFSET on XScale

2004-03-09  Holger Schurig <h.schurig at mn-logistik.de>

        config/arm/linux/md.h,
        config/arm/threads.h:
        Fixed SP_OFFSET on XScale.

Members: 
	ChangeLog:1.2076->1.2077 
	config/arm/threads.h:1.1->1.2 
	config/arm/linux/md.h:1.7->1.8 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2076 kaffe/ChangeLog:1.2077
--- kaffe/ChangeLog:1.2076	Tue Mar  9 17:35:45 2004
+++ kaffe/ChangeLog	Tue Mar  9 17:58:10 2004
@@ -1,3 +1,9 @@
+2004-03-09  Holger Schurig <h.schurig at mn-logistik.de>
+
+	config/arm/linux/md.h,
+	config/arm/threads.h:
+	Fixed SP_OFFSET on XScale.
+
 2004-03-09  Gerard Basler <gerard.basler at starticket.ch>
 
 	Fixes for XScale.
Index: kaffe/config/arm/threads.h
diff -u kaffe/config/arm/threads.h:1.1 kaffe/config/arm/threads.h:1.2
--- kaffe/config/arm/threads.h:1.1	Fri Jun  5 02:15:46 1998
+++ kaffe/config/arm/threads.h	Tue Mar  9 17:58:11 2004
@@ -24,6 +24,10 @@
  * This is the offset into the setjmp buffer where the stack pointer is
  * stored.  This may be different with different OSes.
  */
+#ifdef __XSCALE__
+#define	SP_OFFSET		20
+#else
 #define	SP_OFFSET		23
+#endif
 
 #endif
Index: kaffe/config/arm/linux/md.h
diff -u kaffe/config/arm/linux/md.h:1.7 kaffe/config/arm/linux/md.h:1.8
--- kaffe/config/arm/linux/md.h:1.7	Thu Dec 11 16:43:33 2003
+++ kaffe/config/arm/linux/md.h	Tue Mar  9 17:58:11 2004
@@ -79,7 +79,11 @@
  * figured by looking at sysdeps/arm/bits/setjmp.h
  * and sysdeps/arm/setjmp.S from glibc
  */ 
+#ifdef __XSCALE__
+#define SP_OFFSET	20
+#else
 #define SP_OFFSET	8
+#endif
 #define FP_OFFSET	7
 
 #endif




More information about the kaffe mailing list