*** empty log message ***

This commit is contained in:
Dave Murphy
2006-07-10 03:40:29 +00:00
parent c0f3e5210c
commit a71dd8b60e

View File

@@ -2,8 +2,8 @@ diff -Nbaur newlib-1.14.0/libgloss/configure newlib-1.14.0-arm/libgloss/configur
--- newlib-1.14.0/libgloss/configure Mon Dec 12 11:25:07 2005 --- newlib-1.14.0/libgloss/configure Mon Dec 12 11:25:07 2005
+++ newlib-1.14.0-arm/libgloss/configure Sat Jul 8 23:42:58 2006 +++ newlib-1.14.0-arm/libgloss/configure Sat Jul 8 23:42:58 2006
@@ -711,9 +711,9 @@ @@ -711,9 +711,9 @@
if test -z "${with_multisubdir}" ; then if test -z "${with_multisubdir}" ; then
- configdirs="doc libnosys" - configdirs="doc libnosys"
+ configdirs="doc libnosys libsysbase" + configdirs="doc libnosys libsysbase"
@@ -11,14 +11,14 @@ diff -Nbaur newlib-1.14.0/libgloss/configure newlib-1.14.0-arm/libgloss/configur
- configdirs="libnosys" - configdirs="libnosys"
+ configdirs="libnosys libsysbase" + configdirs="libnosys libsysbase"
fi fi
case "${target}" in case "${target}" in
diff -Nbaur newlib-1.14.0/libgloss/configure.in newlib-1.14.0-arm/libgloss/configure.in diff -Nbaur newlib-1.14.0/libgloss/configure.in newlib-1.14.0-arm/libgloss/configure.in
--- newlib-1.14.0/libgloss/configure.in Mon Dec 12 11:25:07 2005 --- newlib-1.14.0/libgloss/configure.in Mon Dec 12 11:25:07 2005
+++ newlib-1.14.0-arm/libgloss/configure.in Sat Jul 8 23:42:58 2006 +++ newlib-1.14.0-arm/libgloss/configure.in Sat Jul 8 23:42:58 2006
@@ -22,9 +22,9 @@ @@ -22,9 +22,9 @@
AC_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM
if test -z "${with_multisubdir}" ; then if test -z "${with_multisubdir}" ; then
- configdirs="doc libnosys" - configdirs="doc libnosys"
+ configdirs="doc libnosys libsysbase" + configdirs="doc libnosys libsysbase"
@@ -26,7 +26,7 @@ diff -Nbaur newlib-1.14.0/libgloss/configure.in newlib-1.14.0-arm/libgloss/confi
- configdirs="libnosys" - configdirs="libnosys"
+ configdirs="libnosys libsysbase" + configdirs="libnosys libsysbase"
fi fi
case "${target}" in case "${target}" in
diff -Nbaur newlib-1.14.0/libgloss/libsysbase/Makefile.in newlib-1.14.0-arm/libgloss/libsysbase/Makefile.in diff -Nbaur newlib-1.14.0/libgloss/libsysbase/Makefile.in newlib-1.14.0-arm/libgloss/libsysbase/Makefile.in
--- newlib-1.14.0/libgloss/libsysbase/Makefile.in Thu Jan 1 00:00:00 1970 --- newlib-1.14.0/libgloss/libsysbase/Makefile.in Thu Jan 1 00:00:00 1970
@@ -266,15 +266,15 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/close.c newlib-1.14.0-arm/libgloss
+ unsigned int fd = -1; + unsigned int fd = -1;
+ +
+ if(fileDesc!=-1) { + if(fileDesc!=-1) {
+ +
+ __handle *handle = fileDesc; + __handle *handle = fileDesc;
+ +
+ dev = handle->device; + dev = handle->device;
+ fd = handle->fileStruct; + fd = handle->fileStruct;
+ +
+ if(devoptab_list[dev]->close_r) + if(devoptab_list[dev]->close_r)
+ ret = devoptab_list[dev]->close_r(ptr,fd); + ret = devoptab_list[dev]->close_r(ptr,fd);
+ +
+ free(fileDesc); + free(fileDesc);
+ } + }
+ return ret; + return ret;
@@ -312,7 +312,7 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/configure newlib-1.14.0-arm/libglo
+#! /bin/sh +#! /bin/sh
+ +
+# Guess values for system-dependent variables and create Makefiles. +# Guess values for system-dependent variables and create Makefiles.
+# Generated automatically using autoconf version 2.13 +# Generated automatically using autoconf version 2.13
+# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
+# +#
+# This configure script is free software; the Free Software Foundation +# This configure script is free software; the Free Software Foundation
@@ -1043,7 +1043,7 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/configure newlib-1.14.0-arm/libglo
+ +
+# FIXME: We temporarily define our own version of AC_PROG_CC. This is +# FIXME: We temporarily define our own version of AC_PROG_CC. This is
+# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We +# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
+# are building a library that must be included in all links, so we +# are building a library that must be included in all links, so we
+# can't link an executable until this lib is built. +# can't link an executable until this lib is built.
+# autoconf should provide a way to do this. +# autoconf should provide a way to do this.
+ +
@@ -1069,9 +1069,9 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/configure newlib-1.14.0-arm/libglo
+ d10v*) + d10v*)
+ ;; + ;;
+ h8300*-*-*) + h8300*-*-*)
+ ;; + ;;
+ h8500-*-*) + h8500-*-*)
+ ;; + ;;
+ i345686-*-sco*) + i345686-*-sco*)
+ ;; + ;;
+ m32r-*-*) + m32r-*-*)
@@ -1097,7 +1097,7 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/configure newlib-1.14.0-arm/libglo
+ v850ea-*-*) + v850ea-*-*)
+ ;; + ;;
+ w65-*-*) + w65-*-*)
+ ;; + ;;
+ xstormy16-*-*) + xstormy16-*-*)
+ ;; + ;;
+ z8k-*-*) + z8k-*-*)
@@ -1193,7 +1193,7 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/configure newlib-1.14.0-arm/libglo
+else +else
+ libc_dollar_prefix=no + libc_dollar_prefix=no
+fi +fi
+rm -f conftest* +rm -f conftest*
+fi +fi
+ +
+echo "$ac_t""$libc_dollar_prefix" 1>&6 +echo "$ac_t""$libc_dollar_prefix" 1>&6
@@ -1814,7 +1814,7 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/configure.in newlib-1.14.0-arm/lib
+ +
+# FIXME: We temporarily define our own version of AC_PROG_CC. This is +# FIXME: We temporarily define our own version of AC_PROG_CC. This is
+# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We +# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
+# are building a library that must be included in all links, so we +# are building a library that must be included in all links, so we
+# can't link an executable until this lib is built. +# can't link an executable until this lib is built.
+# autoconf should provide a way to do this. +# autoconf should provide a way to do this.
+ +
@@ -1868,9 +1868,9 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/configure.in newlib-1.14.0-arm/lib
+ d10v*) + d10v*)
+ ;; + ;;
+ h8300*-*-*) + h8300*-*-*)
+ ;; + ;;
+ h8500-*-*) + h8500-*-*)
+ ;; + ;;
+ i[3456]86-*-sco*) + i[3456]86-*-sco*)
+ ;; + ;;
+ m32r-*-*) + m32r-*-*)
@@ -1896,7 +1896,7 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/configure.in newlib-1.14.0-arm/lib
+ v850ea-*-*) + v850ea-*-*)
+ ;; + ;;
+ w65-*-*) + w65-*-*)
+ ;; + ;;
+ xstormy16-*-*) + xstormy16-*-*)
+ ;; + ;;
+ z8k-*-*) + z8k-*-*)
@@ -2001,8 +2001,8 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/environ.c newlib-1.14.0-arm/libglo
+ * Version of environ for no OS. + * Version of environ for no OS.
+ */ + */
+ +
+char *__env[1] = { 0 }; +char *__env[1] = { 0 };
+char **environ = __env; +char **environ = __env;
diff -Nbaur newlib-1.14.0/libgloss/libsysbase/execve.c newlib-1.14.0-arm/libgloss/libsysbase/execve.c diff -Nbaur newlib-1.14.0/libgloss/libsysbase/execve.c newlib-1.14.0-arm/libgloss/libsysbase/execve.c
--- newlib-1.14.0/libgloss/libsysbase/execve.c Thu Jan 1 00:00:00 1970 --- newlib-1.14.0/libgloss/libsysbase/execve.c Thu Jan 1 00:00:00 1970
+++ newlib-1.14.0-arm/libgloss/libsysbase/execve.c Wed Jun 14 09:01:35 2006 +++ newlib-1.14.0-arm/libgloss/libsysbase/execve.c Wed Jun 14 09:01:35 2006
@@ -2224,14 +2224,14 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/iosupport.c newlib-1.14.0-arm/libg
+int RemoveDevice( const char* name) { +int RemoveDevice( const char* name) {
+//--------------------------------------------------------------------------------- +//---------------------------------------------------------------------------------
+ int dev = FindDevice(name); + int dev = FindDevice(name);
+ +
+ if ( -1 != dev ) { + if ( -1 != dev ) {
+ devoptab_list[dev] = &dotab_stdnull; + devoptab_list[dev] = &dotab_stdnull;
+ return 0; + return 0;
+ } + }
+ +
+ return -1; + return -1;
+ +
+} +}
+//--------------------------------------------------------------------------------- +//---------------------------------------------------------------------------------
+int AddDevice( const devoptab_t* device) { +int AddDevice( const devoptab_t* device) {
@@ -2321,7 +2321,7 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/link.c newlib-1.14.0-arm/libgloss/
+ int ret; + int ret;
+ int sourceDev = FindDevice(existing); + int sourceDev = FindDevice(existing);
+ int destDev = FindDevice(new); + int destDev = FindDevice(new);
+ +
+ ret = -1; + ret = -1;
+ +
+ if ( sourceDev == destDev) { + if ( sourceDev == destDev) {
@@ -2329,7 +2329,7 @@ diff -Nbaur newlib-1.14.0/libgloss/libsysbase/link.c newlib-1.14.0-arm/libgloss/
+ ret = devoptab_list[destDev]->link_r( r, existing, new); + ret = devoptab_list[destDev]->link_r( r, existing, new);
+ } else { + } else {
+ r->_errno = ENOSYS; + r->_errno = ENOSYS;
+ } + }
+ } else { + } else {
+ r->_errno = EXDEV; + r->_errno = EXDEV;
+ } + }
@@ -2870,7 +2870,7 @@ diff -Nbaur newlib-1.14.0/newlib/libc/include/sys/reent.h newlib-1.14.0-arm/newl
+ int _file; /* fileno, if Unix descriptor, else -1 */ + int _file; /* fileno, if Unix descriptor, else -1 */
struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */ struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */
int _lbfsize; /* 0 or -_bf._size, for inline putc */ int _lbfsize; /* 0 or -_bf._size, for inline putc */
@@ -168,7 +168,7 @@ @@ -168,7 +168,7 @@
int _r; /* read space left for getc() */ int _r; /* read space left for getc() */
int _w; /* write space left for putc() */ int _w; /* write space left for putc() */
@@ -2879,7 +2879,7 @@ diff -Nbaur newlib-1.14.0/newlib/libc/include/sys/reent.h newlib-1.14.0-arm/newl
+ int _file; /* fileno, if Unix descriptor, else -1 */ + int _file; /* fileno, if Unix descriptor, else -1 */
struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */ struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */
int _lbfsize; /* 0 or -_bf._size, for inline putc */ int _lbfsize; /* 0 or -_bf._size, for inline putc */
@@ -216,7 +216,7 @@ @@ -216,7 +216,7 @@
int _r; /* read space left for getc() */ int _r; /* read space left for getc() */
int _w; /* write space left for putc() */ int _w; /* write space left for putc() */
@@ -2888,4 +2888,4 @@ diff -Nbaur newlib-1.14.0/newlib/libc/include/sys/reent.h newlib-1.14.0-arm/newl
+ int _file; /* fileno, if Unix descriptor, else -1 */ + int _file; /* fileno, if Unix descriptor, else -1 */
struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */ struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */
int _lbfsize; /* 0 or -_bf._size, for inline putc */ int _lbfsize; /* 0 or -_bf._size, for inline putc */