Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-04-01 22:58:07 +0400
committerJeff Johnston <jjohnstn@redhat.com>2008-04-01 22:58:07 +0400
commit71f3a8f566b2a043e051d4943a7aee14506df171 (patch)
tree61a8bda2f71cff56ad0195f4641755c9cdbbc71c /newlib
parent1d4a4944e5c305051511ae08f62f3fd2ea867daa (diff)
2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
* configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and -DMISSING_SYSCALL_NAMES.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/configure.host5
2 files changed, 9 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index a55008033..f2435236f 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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.
diff --git a/newlib/configure.host b/newlib/configure.host
index bbdfff31f..3f276fd25 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -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