From 734e8414355b9e4c3c95ccfc9c72aa813d83d89a Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 16 Aug 2006 21:39:43 +0000 Subject: 2006-08-16 Joel Schopp * configure.host: Add spu support. * libc/include/stdint.h: Ditto. * libc/include/machine/ieeefp.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/include/sys/config.h: Ditto. * libc/include/sys/types.h: Ditto. * libc/machine/spu/Makefile.am: New file. * libc/machine/spu/Makefile.in: Ditto. * libc/machine/spu/aclocal.m4: Ditto. * libc/machine/spu/configure: Ditto. * libc/machine/spu/configure.in: Ditto. * libc/machine/spu/memcpy.c: Ditto. * libc/machine/spu/setjmp.S: Ditto. --- newlib/libc/include/sys/config.h | 4 ++++ newlib/libc/include/sys/types.h | 7 ++----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'newlib/libc/include/sys') diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index f436c780d..dc6264333 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -126,6 +126,10 @@ #endif /* __m32c__ */ +#ifdef __SPU__ +#define MALLOC_ALIGNMENT 16 +#endif + /* This block should be kept in sync with GCC's limits.h. The point of having these definitions here is to not include limits.h, which would pollute the user namespace, while still using types of the diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index bf08616ab..7de48b1e9 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -126,15 +126,12 @@ typedef long daddr_t; typedef char * caddr_t; #ifndef __CYGWIN__ -#if defined(__MS_types__) || defined(__rtems__) -typedef unsigned long ino_t; -#else -#ifdef __sparc__ +#if defined(__MS_types__) || defined(__rtems__) || + defined(__sparc__) || defined(__SPU__) typedef unsigned long ino_t; #else typedef unsigned short ino_t; #endif -#endif #endif /*__CYGWIN__*/ #ifdef __MS_types__ -- cgit v1.2.3