OSDN Git Service

2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
authorjjohnstn <jjohnstn>
Wed, 23 Aug 2006 16:07:32 +0000 (16:07 +0000)
committerjjohnstn <jjohnstn>
Wed, 23 Aug 2006 16:07:32 +0000 (16:07 +0000)
        * libc/machine/configure.in: Add configuration for SPU.
        * libc/machine/configure: Regenerated.
        * libc/machine/spu/memcpy.c: Include string.h.

newlib/ChangeLog
newlib/libc/machine/configure
newlib/libc/machine/configure.in
newlib/libc/machine/spu/memcpy.c

index 231d02d..d59e8cf 100644 (file)
@@ -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
index c1b55b0..7b35512 100755 (executable)
@@ -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"
index ad459f8..87b066e 100644 (file)
@@ -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) ;;
index 6f55526..2ef1711 100644 (file)
@@ -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 */