OSDN Git Service

2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
authorjjohnstn <jjohnstn>
Tue, 1 Apr 2008 18:58:07 +0000 (18:58 +0000)
committerjjohnstn <jjohnstn>
Tue, 1 Apr 2008 18:58:07 +0000 (18:58 +0000)
        * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
          -DMISSING_SYSCALL_NAMES.

newlib/ChangeLog
newlib/configure.host

index a550080..f243523 100644 (file)
@@ -1,5 +1,10 @@
 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
 
+       * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
+         -DMISSING_SYSCALL_NAMES.
+
+2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
+
        * libc/machine/spu/Makefile.am: Add assert.c.
        * libc/machine/spu/Makefile.in: Regenerate.
        * libc/machine/spu/assert.c: New file.
index bbdfff3..3f276fd 100644 (file)
@@ -268,7 +268,10 @@ case "${host_cpu}" in
        stdio_dir=
        libm_machine_dir=spu
        machine_dir=spu
-       newlib_cflags="${newlib_cflags} -D_POSIX_MODE -ffunction-sections -fdata-sections "
+       newlib_cflags="${newlib_cflags} -D_POSIX_MODE"
+       newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED"
+       newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
+       newlib_cflags="${newlib_cflags} -ffunction-sections -fdata-sections "
        ;;
   *)
        echo '***' "Newlib does not support CPU ${host_cpu}" 1>&2