summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-08-23 16:07:36 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-08-23 16:07:36 +0000
commitb8e05321bafa23703a30027a8e3ab64037fd67b0 (patch)
treee4da7b66e8183019413c947fd5203f938d4c114b
parent380d8ec45da6be92c6d384de6eaf3eec0965ebf1 (diff)
downloadcygnal-b8e05321bafa23703a30027a8e3ab64037fd67b0.tar.gz
cygnal-b8e05321bafa23703a30027a8e3ab64037fd67b0.tar.bz2
cygnal-b8e05321bafa23703a30027a8e3ab64037fd67b0.zip
2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
* libc/machine/configure.in: Add configuration for SPU. * libc/machine/configure: Regenerated. * libc/machine/spu/memcpy.c: Include string.h.
-rw-r--r--newlib/ChangeLog6
-rwxr-xr-xnewlib/libc/machine/configure7
-rw-r--r--newlib/libc/machine/configure.in1
-rw-r--r--newlib/libc/machine/spu/memcpy.c2
4 files changed, 15 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 231d02d9c..d59e8cf9a 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
+
+ * libc/machine/configure.in: Add configuration for SPU.
+ * libc/machine/configure: Regenerated.
+ * libc/machine/spu/memcpy.c: Include string.h.
+
2006-08-22 Eric Blake <ebb9@byu.net>
* libc/posix/popen.c (popen): Don't close output end of pipe in
diff --git a/newlib/libc/machine/configure b/newlib/libc/machine/configure
index c1b55b0bd..7b35512c4 100755
--- a/newlib/libc/machine/configure
+++ b/newlib/libc/machine/configure
@@ -299,6 +299,7 @@ ac_subdirs_all="$ac_subdirs_all necv70"
ac_subdirs_all="$ac_subdirs_all powerpc"
ac_subdirs_all="$ac_subdirs_all sh"
ac_subdirs_all="$ac_subdirs_all sparc"
+ac_subdirs_all="$ac_subdirs_all spu"
ac_subdirs_all="$ac_subdirs_all tic4x"
ac_subdirs_all="$ac_subdirs_all tic80"
ac_subdirs_all="$ac_subdirs_all v850"
@@ -4662,7 +4663,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4665 "configure"' > conftest.$ac_ext
+ echo '#line 4666 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5000,6 +5001,10 @@ subdirs="$subdirs sh"
subdirs="$subdirs sparc"
;;
+ spu)
+
+subdirs="$subdirs spu"
+ ;;
tic4x)
subdirs="$subdirs tic4x"
diff --git a/newlib/libc/machine/configure.in b/newlib/libc/machine/configure.in
index ad459f888..87b066e91 100644
--- a/newlib/libc/machine/configure.in
+++ b/newlib/libc/machine/configure.in
@@ -49,6 +49,7 @@ if test -n "${machine_dir}"; then
powerpc) AC_CONFIG_SUBDIRS(powerpc) ;;
sh) AC_CONFIG_SUBDIRS(sh) ;;
sparc) AC_CONFIG_SUBDIRS(sparc) ;;
+ spu) AC_CONFIG_SUBDIRS(spu) ;;
tic4x) AC_CONFIG_SUBDIRS(tic4x) ;;
tic80) AC_CONFIG_SUBDIRS(tic80) ;;
v850) AC_CONFIG_SUBDIRS(v850) ;;
diff --git a/newlib/libc/machine/spu/memcpy.c b/newlib/libc/machine/spu/memcpy.c
index 6f5552685..2ef1711dd 100644
--- a/newlib/libc/machine/spu/memcpy.c
+++ b/newlib/libc/machine/spu/memcpy.c
@@ -30,6 +30,8 @@ POSSIBILITY OF SUCH DAMAGE.
Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
*/
+#include <string.h>
+
void * memcpy (void *dst, const void *src, size_t len)
{
/* TODO: copying byte by byte is far to inefficient */