This patch redefines _JBTYPE syntax on the spu to something equivalent
that works with non-gcc compilers (xlc specifically) in addition to
gcc. It's a one liner, tested with both gcc and xlc.
2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
* spu/access.c: redefine _JBTYPE for cell spu
------------------------------------------------------------------------
Index: src/newlib/libc/include/machine/setjmp.h
===================================================================
--- src.orig/newlib/libc/include/machine/setjmp.h
+++ src/newlib/libc/include/machine/setjmp.h
@@ -210,7 +210,7 @@ _BEGIN_STD_C
#ifdef __SPU__
#define _JBLEN 50 -#define _JBTYPE __attribute__ (( __vector_size__
(16) )) int
+#define _JBTYPE vector signed int
#endif
#ifdef __xstormy16__