diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-08-16 21:39:43 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-08-16 21:39:43 +0000 |
commit | 734e8414355b9e4c3c95ccfc9c72aa813d83d89a (patch) | |
tree | a9b32a7a4b1efd1e534737ab926567e0dc1e2869 /newlib/libc/include/sys | |
parent | 0486bb7f0d8906f15ce2bb16936d40d07990e8a8 (diff) | |
download | cygnal-734e8414355b9e4c3c95ccfc9c72aa813d83d89a.tar.gz cygnal-734e8414355b9e4c3c95ccfc9c72aa813d83d89a.tar.bz2 cygnal-734e8414355b9e4c3c95ccfc9c72aa813d83d89a.zip |
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
* 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.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r-- | newlib/libc/include/sys/config.h | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/types.h | 7 |
2 files changed, 6 insertions, 5 deletions
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__ |