extra sfp_lock bits, check for valid device in mkdir

This commit is contained in:
Dave Murphy 2009-06-03 02:58:18 +00:00
parent ce914bba75
commit 23d034b86b

View File

@ -1,6 +1,6 @@
diff -Nbaur newlib-1.17.0/config.sub newlib-1.17.0-ppc/config.sub
--- newlib-1.17.0/config.sub 2008-12-18 03:26:46.000000000 +0000
+++ newlib-1.17.0-ppc/config.sub 2009-04-26 23:50:03.000000000 +0100
--- newlib-1.17.0/config.sub 2008-12-18 03:26:46 +0000
+++ newlib-1.17.0-ppc/config.sub 2009-05-25 18:14:44 +0100
@@ -230,6 +230,10 @@
basic_machine=m68k-atari
os=-mint
@ -13,8 +13,8 @@ diff -Nbaur newlib-1.17.0/config.sub newlib-1.17.0-ppc/config.sub
# Decode aliases for certain CPU-COMPANY combinations.
diff -Nbaur newlib-1.17.0/libgloss/configure newlib-1.17.0-ppc/libgloss/configure
--- newlib-1.17.0/libgloss/configure 2008-12-17 23:08:09.000000000 +0000
+++ newlib-1.17.0-ppc/libgloss/configure 2008-12-30 09:35:56.000000000 +0000
--- newlib-1.17.0/libgloss/configure 2008-12-17 23:08:09 +0000
+++ newlib-1.17.0-ppc/libgloss/configure 2009-05-25 18:14:44 +0100
@@ -702,6 +702,7 @@
CCASFLAGS'
ac_subdirs_all='doc
@ -53,8 +53,8 @@ diff -Nbaur newlib-1.17.0/libgloss/configure newlib-1.17.0-ppc/libgloss/configur
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r'
diff -Nbaur newlib-1.17.0/libgloss/configure.in newlib-1.17.0-ppc/libgloss/configure.in
--- newlib-1.17.0/libgloss/configure.in 2008-12-17 23:08:09.000000000 +0000
+++ newlib-1.17.0-ppc/libgloss/configure.in 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/configure.in 2008-12-17 23:08:09 +0000
+++ newlib-1.17.0-ppc/libgloss/configure.in 2009-05-25 18:14:44 +0100
@@ -2,6 +2,7 @@
AC_PREREQ(2.59)
AC_INIT([libgloss],[LIBGLOSS_VERSION])
@ -72,8 +72,8 @@ diff -Nbaur newlib-1.17.0/libgloss/configure.in newlib-1.17.0-ppc/libgloss/confi
case "${target}" in
i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/Makefile.in newlib-1.17.0-ppc/libgloss/libsysbase/Makefile.in
--- newlib-1.17.0/libgloss/libsysbase/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/Makefile.in 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/Makefile.in 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/Makefile.in 2009-05-25 18:14:44 +0100
@@ -0,0 +1,147 @@
+# Copyright (c) 1998 Cygnus Support
+#
@ -223,8 +223,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/Makefile.in newlib-1.17.0-ppc/libg
+config.status: configure
+ $(SHELL) config.status --recheck
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/_exit.c newlib-1.17.0-ppc/libgloss/libsysbase/_exit.c
--- newlib-1.17.0/libgloss/libsysbase/_exit.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/_exit.c 2009-01-14 23:09:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/_exit.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/_exit.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,19 @@
+/* Stub version of _exit. */
+
@ -246,8 +246,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/_exit.c newlib-1.17.0-ppc/libgloss
+ while(1);
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/abort.c newlib-1.17.0-ppc/libgloss/libsysbase/abort.c
--- newlib-1.17.0/libgloss/libsysbase/abort.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/abort.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/abort.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/abort.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,8 @@
+#include <stdlib.h>
+#include <unistd.h>
@ -258,8 +258,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/abort.c newlib-1.17.0-ppc/libgloss
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/acconfig.h newlib-1.17.0-ppc/libgloss/libsysbase/acconfig.h
--- newlib-1.17.0/libgloss/libsysbase/acconfig.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/acconfig.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/acconfig.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/acconfig.h 2009-05-25 18:14:44 +0100
@@ -0,0 +1,29 @@
+/* Name of package. */
+#undef PACKAGE
@ -291,8 +291,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/acconfig.h newlib-1.17.0-ppc/libgl
+/* symbol prefix */
+#undef __SYMBOL_PREFIX
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/aclocal.m4 newlib-1.17.0-ppc/libgloss/libsysbase/aclocal.m4
--- newlib-1.17.0/libgloss/libsysbase/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/aclocal.m4 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/aclocal.m4 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/aclocal.m4 2009-05-25 18:14:44 +0100
@@ -0,0 +1,344 @@
+# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
+
@ -639,8 +639,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/aclocal.m4 newlib-1.17.0-ppc/libgl
+
+m4_include([../acinclude.m4])
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/build_argv.c newlib-1.17.0-ppc/libgloss/libsysbase/build_argv.c
--- newlib-1.17.0/libgloss/libsysbase/build_argv.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/build_argv.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/build_argv.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/build_argv.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,31 @@
+struct __argv {
+ int argvMagic;
@ -674,8 +674,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/build_argv.c newlib-1.17.0-ppc/lib
+ argstruct->endARGV = &argv[argCount];
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/chdir.c newlib-1.17.0-ppc/libgloss/libsysbase/chdir.c
--- newlib-1.17.0/libgloss/libsysbase/chdir.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/chdir.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/chdir.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/chdir.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,175 @@
+#include <unistd.h>
+#include <reent.h>
@ -853,8 +853,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/chdir.c newlib-1.17.0-ppc/libgloss
+ return buf;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/close.c newlib-1.17.0-ppc/libgloss/libsysbase/close.c
--- newlib-1.17.0/libgloss/libsysbase/close.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/close.c 2009-01-04 19:33:03.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/close.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/close.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,42 @@
+#include "config.h"
+#include <_ansi.h>
@ -899,8 +899,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/close.c newlib-1.17.0-ppc/libgloss
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/config.h.in newlib-1.17.0-ppc/libgloss/libsysbase/config.h.in
--- newlib-1.17.0/libgloss/libsysbase/config.h.in 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/config.h.in 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/config.h.in 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/config.h.in 2009-05-25 18:14:44 +0100
@@ -0,0 +1,25 @@
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
@ -928,8 +928,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/config.h.in newlib-1.17.0-ppc/libg
+/* symbol prefix */
+#undef __SYMBOL_PREFIX
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/configure newlib-1.17.0-ppc/libgloss/libsysbase/configure
--- newlib-1.17.0/libgloss/libsysbase/configure 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/configure 2009-04-26 23:54:14.000000000 +0100
--- newlib-1.17.0/libgloss/libsysbase/configure 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/configure 2009-05-25 18:14:44 +0100
@@ -0,0 +1,3549 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
@ -4481,8 +4481,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/configure newlib-1.17.0-ppc/libglo
+
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/configure.in newlib-1.17.0-ppc/libgloss/libsysbase/configure.in
--- newlib-1.17.0/libgloss/libsysbase/configure.in 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/configure.in 2009-04-27 00:00:34.000000000 +0100
--- newlib-1.17.0/libgloss/libsysbase/configure.in 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/configure.in 2009-05-25 18:14:44 +0100
@@ -0,0 +1,207 @@
+# Copyright (c) 1995, 1996 Cygnus Support
+#
@ -4692,8 +4692,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/configure.in newlib-1.17.0-ppc/lib
+
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/dir.c newlib-1.17.0-ppc/libgloss/libsysbase/dir.c
--- newlib-1.17.0/libgloss/libsysbase/dir.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/dir.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/dir.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/dir.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,94 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -4790,8 +4790,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/dir.c newlib-1.17.0-ppc/libgloss/l
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/dirent.c newlib-1.17.0-ppc/libgloss/libsysbase/dirent.c
--- newlib-1.17.0/libgloss/libsysbase/dirent.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/dirent.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/dirent.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/dirent.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,157 @@
+#include <sys/dirent.h>
+#include <sys/dir.h>
@ -4951,8 +4951,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/dirent.c newlib-1.17.0-ppc/libglos
+ return dirp->position;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/environ.c newlib-1.17.0-ppc/libgloss/libsysbase/environ.c
--- newlib-1.17.0/libgloss/libsysbase/environ.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/environ.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/environ.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/environ.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,6 @@
+/*
+ * Version of environ for no OS.
@ -4961,8 +4961,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/environ.c newlib-1.17.0-ppc/libglo
+char *__env[1] = { 0 };
+char **environ = __env;
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/execve.c newlib-1.17.0-ppc/libgloss/libsysbase/execve.c
--- newlib-1.17.0/libgloss/libsysbase/execve.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/execve.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/execve.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/execve.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,31 @@
+/*
+ * Stub version of execve.
@ -4996,8 +4996,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/execve.c newlib-1.17.0-ppc/libglos
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/flock.c newlib-1.17.0-ppc/libgloss/libsysbase/flock.c
--- newlib-1.17.0/libgloss/libsysbase/flock.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/flock.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/flock.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/flock.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,21 @@
+#include <config.h>
+#include <_ansi.h>
@ -5021,8 +5021,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/flock.c newlib-1.17.0-ppc/libgloss
+ __lock_release_recursive(*(_LOCK_RECURSIVE_T*)&fp->_lock);
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/fork.c newlib-1.17.0-ppc/libgloss/libsysbase/fork.c
--- newlib-1.17.0/libgloss/libsysbase/fork.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/fork.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/fork.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/fork.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,25 @@
+/*
+ * Stub version of fork.
@ -5050,8 +5050,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/fork.c newlib-1.17.0-ppc/libgloss/
+ return -1;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/fstat.c newlib-1.17.0-ppc/libgloss/libsysbase/fstat.c
--- newlib-1.17.0/libgloss/libsysbase/fstat.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/fstat.c 2009-01-14 23:40:33.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/fstat.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/fstat.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,50 @@
+#include "config.h"
+#include <_ansi.h>
@ -5104,8 +5104,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/fstat.c newlib-1.17.0-ppc/libgloss
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/fsync.c newlib-1.17.0-ppc/libgloss/libsysbase/fsync.c
--- newlib-1.17.0/libgloss/libsysbase/fsync.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/fsync.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/fsync.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/fsync.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,36 @@
+#include "config.h"
+#include <_ansi.h>
@ -5144,8 +5144,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/fsync.c newlib-1.17.0-ppc/libgloss
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/ftruncate.c newlib-1.17.0-ppc/libgloss/libsysbase/ftruncate.c
--- newlib-1.17.0/libgloss/libsysbase/ftruncate.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/ftruncate.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/ftruncate.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/ftruncate.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,37 @@
+#include "config.h"
+#include <_ansi.h>
@ -5185,8 +5185,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/ftruncate.c newlib-1.17.0-ppc/libg
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/getpid.c newlib-1.17.0-ppc/libgloss/libsysbase/getpid.c
--- newlib-1.17.0/libgloss/libsysbase/getpid.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/getpid.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/getpid.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/getpid.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,21 @@
+#include "config.h"
+#include <_ansi.h>
@ -5210,8 +5210,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/getpid.c newlib-1.17.0-ppc/libglos
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/gettod.c newlib-1.17.0-ppc/libgloss/libsysbase/gettod.c
--- newlib-1.17.0/libgloss/libsysbase/gettod.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/gettod.c 2009-05-14 20:59:10.000000000 +0100
--- newlib-1.17.0/libgloss/libsysbase/gettod.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/gettod.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,39 @@
+/*
+ * Stub version of gettimeofday.
@ -5253,8 +5253,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/gettod.c newlib-1.17.0-ppc/libglos
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/handle_manager.c newlib-1.17.0-ppc/libgloss/libsysbase/handle_manager.c
--- newlib-1.17.0/libgloss/libsysbase/handle_manager.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/handle_manager.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/handle_manager.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/handle_manager.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,47 @@
+#include <stdlib.h>
+#include <stdio.h>
@ -5304,8 +5304,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/handle_manager.c newlib-1.17.0-ppc
+
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/handle_manager.h newlib-1.17.0-ppc/libgloss/libsysbase/handle_manager.h
--- newlib-1.17.0/libgloss/libsysbase/handle_manager.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/handle_manager.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/handle_manager.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/handle_manager.h 2009-05-25 18:14:44 +0100
@@ -0,0 +1,10 @@
+#ifndef __HANDLE_MANAGER_H__
+#define __HANDLE_MANAGER_H__
@ -5318,9 +5318,9 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/handle_manager.h newlib-1.17.0-ppc
+
+#endif
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/iosupport.c newlib-1.17.0-ppc/libgloss/libsysbase/iosupport.c
--- newlib-1.17.0/libgloss/libsysbase/iosupport.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/iosupport.c 2008-12-30 09:33:00.000000000 +0000
@@ -0,0 +1,122 @@
--- newlib-1.17.0/libgloss/libsysbase/iosupport.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/iosupport.c 2009-05-30 16:43:21 +0100
@@ -0,0 +1,126 @@
+#include <stdlib.h>
+#include <string.h>
+#include <sys/iosupport.h>
@ -5390,7 +5390,7 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/iosupport.c newlib-1.17.0-ppc/libg
+ i++;
+ }
+
+ if ( dev == -1 && defaultDevice != -1 ) dev = defaultDevice;
+ if ( dev == -1 && strchr(name,':') == NULL ) dev = defaultDevice;
+
+ return dev;
+}
@ -5398,10 +5398,14 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/iosupport.c newlib-1.17.0-ppc/libg
+//---------------------------------------------------------------------------------
+int RemoveDevice( const char* name) {
+//---------------------------------------------------------------------------------
+
+ if (strchr(name,':') == NULL ) return -1;
+
+ int dev = FindDevice(name);
+
+ if ( -1 != dev ) {
+ devoptab_list[dev] = &dotab_stdnull;
+ if (defaultDevice == dev) defaultDevice = -1;
+ return 0;
+ }
+
@ -5444,8 +5448,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/iosupport.c newlib-1.17.0-ppc/libg
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/isatty.c newlib-1.17.0-ppc/libgloss/libsysbase/isatty.c
--- newlib-1.17.0/libgloss/libsysbase/isatty.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/isatty.c 2009-01-04 19:02:05.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/isatty.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/isatty.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,15 @@
+#include "config.h"
+#include <_ansi.h>
@ -5463,8 +5467,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/isatty.c newlib-1.17.0-ppc/libglos
+ return 0;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/kill.c newlib-1.17.0-ppc/libgloss/libsysbase/kill.c
--- newlib-1.17.0/libgloss/libsysbase/kill.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/kill.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/kill.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/kill.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,23 @@
+/*
+ * Stub version of kill.
@ -5490,8 +5494,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/kill.c newlib-1.17.0-ppc/libgloss/
+ return -1;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/link.c newlib-1.17.0-ppc/libgloss/libsysbase/link.c
--- newlib-1.17.0/libgloss/libsysbase/link.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/link.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/link.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/link.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,37 @@
+#include "config.h"
+#include <_ansi.h>
@ -5531,8 +5535,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/link.c newlib-1.17.0-ppc/libgloss/
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/lseek.c newlib-1.17.0-ppc/libgloss/libsysbase/lseek.c
--- newlib-1.17.0/libgloss/libsysbase/lseek.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/lseek.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/lseek.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/lseek.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,55 @@
+#include "config.h"
+#include <_ansi.h>
@ -5590,14 +5594,14 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/lseek.c newlib-1.17.0-ppc/libgloss
+
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/malloc_vars.c newlib-1.17.0-ppc/libgloss/libsysbase/malloc_vars.c
--- newlib-1.17.0/libgloss/libsysbase/malloc_vars.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/malloc_vars.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/malloc_vars.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/malloc_vars.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,2 @@
+char *fake_heap_end = (char*)0;
+char *fake_heap_start = (char*)0;
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/mkdir.c newlib-1.17.0-ppc/libgloss/libsysbase/mkdir.c
--- newlib-1.17.0/libgloss/libsysbase/mkdir.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/mkdir.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/mkdir.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/mkdir.c 2009-06-03 01:31:59 +0100
@@ -0,0 +1,18 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5609,17 +5613,17 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/mkdir.c newlib-1.17.0-ppc/libgloss
+ int dev = FindDevice(path);
+ ret = -1;
+
+ if (devoptab_list[dev]->mkdir_r) {
+ if (dev!=-1 && devoptab_list[dev]->mkdir_r) {
+ ret = devoptab_list[dev]->mkdir_r(r, path, mode);
+ } else {
+ r->_errno = ENOSYS;
+ }
+
+
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/open.c newlib-1.17.0-ppc/libgloss/libsysbase/open.c
--- newlib-1.17.0/libgloss/libsysbase/open.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/open.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/open.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/open.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,57 @@
+#include "config.h"
+#include <_ansi.h>
@ -5679,8 +5683,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/open.c newlib-1.17.0-ppc/libgloss/
+ return fd;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/read.c newlib-1.17.0-ppc/libgloss/libsysbase/read.c
--- newlib-1.17.0/libgloss/libsysbase/read.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/read.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/read.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/read.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,48 @@
+#include "config.h"
+#include <_ansi.h>
@ -5731,8 +5735,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/read.c newlib-1.17.0-ppc/libgloss/
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/rename.c newlib-1.17.0-ppc/libgloss/libsysbase/rename.c
--- newlib-1.17.0/libgloss/libsysbase/rename.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/rename.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/rename.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/rename.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,39 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5774,8 +5778,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/rename.c newlib-1.17.0-ppc/libglos
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/sbrk.c newlib-1.17.0-ppc/libgloss/libsysbase/sbrk.c
--- newlib-1.17.0/libgloss/libsysbase/sbrk.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/sbrk.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/sbrk.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/sbrk.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,26 @@
+#include "config.h"
+#include <sys/iosupport.h>
@ -5804,8 +5808,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/sbrk.c newlib-1.17.0-ppc/libgloss/
+
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/stat.c newlib-1.17.0-ppc/libgloss/libsysbase/stat.c
--- newlib-1.17.0/libgloss/libsysbase/stat.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/stat.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/stat.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/stat.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,39 @@
+#include "config.h"
+#include <_ansi.h>
@ -5847,8 +5851,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/stat.c newlib-1.17.0-ppc/libgloss/
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/statvfs.c newlib-1.17.0-ppc/libgloss/libsysbase/statvfs.c
--- newlib-1.17.0/libgloss/libsysbase/statvfs.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/statvfs.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/statvfs.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/statvfs.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,23 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5874,8 +5878,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/statvfs.c newlib-1.17.0-ppc/libglo
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/syscall_support.c newlib-1.17.0-ppc/libgloss/libsysbase/syscall_support.c
--- newlib-1.17.0/libgloss/libsysbase/syscall_support.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/syscall_support.c 2009-05-14 18:26:39.000000000 +0100
--- newlib-1.17.0/libgloss/libsysbase/syscall_support.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/syscall_support.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,66 @@
+#include <sys/iosupport.h>
+
@ -5944,8 +5948,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/syscall_support.c newlib-1.17.0-pp
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/truncate.c newlib-1.17.0-ppc/libgloss/libsysbase/truncate.c
--- newlib-1.17.0/libgloss/libsysbase/truncate.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/truncate.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/truncate.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/truncate.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,59 @@
+#include "config.h"
+#include <_ansi.h>
@ -6007,8 +6011,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/truncate.c newlib-1.17.0-ppc/libgl
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/unlink.c newlib-1.17.0-ppc/libgloss/libsysbase/unlink.c
--- newlib-1.17.0/libgloss/libsysbase/unlink.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/unlink.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/unlink.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/unlink.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,33 @@
+#include "config.h"
+#include <_ansi.h>
@ -6044,8 +6048,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/unlink.c newlib-1.17.0-ppc/libglos
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/wait.c newlib-1.17.0-ppc/libgloss/libsysbase/wait.c
--- newlib-1.17.0/libgloss/libsysbase/wait.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/wait.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/wait.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/wait.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,28 @@
+/*
+ * Stub version of wait.
@ -6076,8 +6080,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/wait.c newlib-1.17.0-ppc/libgloss/
+}
+
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/warning.h newlib-1.17.0-ppc/libgloss/libsysbase/warning.h
--- newlib-1.17.0/libgloss/libsysbase/warning.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/warning.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/warning.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/warning.h 2009-05-25 18:14:44 +0100
@@ -0,0 +1,43 @@
+#ifndef __WARNING_H__
+#define __WARNING_H__
@ -6123,8 +6127,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/warning.h newlib-1.17.0-ppc/libglo
+
+#endif /* __WARNING_H__ */
diff -Nbaur newlib-1.17.0/libgloss/libsysbase/write.c newlib-1.17.0-ppc/libgloss/libsysbase/write.c
--- newlib-1.17.0/libgloss/libsysbase/write.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/libsysbase/write.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/libsysbase/write.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/libsysbase/write.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,48 @@
+#include "config.h"
+#include <_ansi.h>
@ -6175,8 +6179,8 @@ diff -Nbaur newlib-1.17.0/libgloss/libsysbase/write.c newlib-1.17.0-ppc/libgloss
+ return ret;
+}
diff -Nbaur newlib-1.17.0/libgloss/rs6000/Makefile.in newlib-1.17.0-ppc/libgloss/rs6000/Makefile.in
--- newlib-1.17.0/libgloss/rs6000/Makefile.in 2005-08-30 17:11:27.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/rs6000/Makefile.in 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/rs6000/Makefile.in 2005-08-30 17:11:27 +0100
+++ newlib-1.17.0-ppc/libgloss/rs6000/Makefile.in 2009-05-25 18:14:44 +0100
@@ -121,6 +121,9 @@
MBX_TEST = mbx-test
MBX_INSTALL = install-mbx
@ -6225,8 +6229,8 @@ diff -Nbaur newlib-1.17.0/libgloss/rs6000/Makefile.in newlib-1.17.0-ppc/libgloss
info:
install-info:
diff -Nbaur newlib-1.17.0/libgloss/rs6000/crtmain.c newlib-1.17.0-ppc/libgloss/rs6000/crtmain.c
--- newlib-1.17.0/libgloss/rs6000/crtmain.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/libgloss/rs6000/crtmain.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/libgloss/rs6000/crtmain.c 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/libgloss/rs6000/crtmain.c 2009-05-25 18:14:44 +0100
@@ -0,0 +1,19 @@
+#include <unistd.h>
+
@ -6248,8 +6252,8 @@ diff -Nbaur newlib-1.17.0/libgloss/rs6000/crtmain.c newlib-1.17.0-ppc/libgloss/r
+ exit ( main(__system_argv->argc,__system_argv->argv) );
+}
diff -Nbaur newlib-1.17.0/newlib/configure.host newlib-1.17.0-ppc/newlib/configure.host
--- newlib-1.17.0/newlib/configure.host 2008-12-17 23:09:09.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/configure.host 2009-04-27 01:38:25.000000000 +0100
--- newlib-1.17.0/newlib/configure.host 2008-12-17 23:09:09 +0000
+++ newlib-1.17.0-ppc/newlib/configure.host 2009-05-25 18:14:44 +0100
@@ -683,6 +683,11 @@
default_newlib_io_long_long="yes"
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
@ -6263,8 +6267,8 @@ diff -Nbaur newlib-1.17.0/newlib/configure.host newlib-1.17.0-ppc/newlib/configu
powerpc*-*-elf* | \
powerpc*-*-linux* | \
diff -Nbaur newlib-1.17.0/newlib/libc/include/stdint.h newlib-1.17.0-ppc/newlib/libc/include/stdint.h
--- newlib-1.17.0/newlib/libc/include/stdint.h 2008-12-10 21:27:58.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/include/stdint.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/include/stdint.h 2008-12-10 21:27:58 +0000
+++ newlib-1.17.0-ppc/newlib/libc/include/stdint.h 2009-05-25 18:14:44 +0100
@@ -75,14 +75,14 @@
#endif
#endif
@ -6286,8 +6290,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/stdint.h newlib-1.17.0-ppc/newlib/
typedef signed short int32_t;
typedef unsigned short uint32_t;
diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/dir.h newlib-1.17.0-ppc/newlib/libc/include/sys/dir.h
--- newlib-1.17.0/newlib/libc/include/sys/dir.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/dir.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/include/sys/dir.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/dir.h 2009-05-25 18:14:44 +0100
@@ -0,0 +1,32 @@
+/* <dir.h>
+
@ -6322,8 +6326,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/dir.h newlib-1.17.0-ppc/newlib
+
+#endif // _dir_h_
diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/dirent.h newlib-1.17.0-ppc/newlib/libc/include/sys/dirent.h
--- newlib-1.17.0/newlib/libc/include/sys/dirent.h 2005-10-04 21:47:39.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/dirent.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/include/sys/dirent.h 2005-10-04 21:47:39 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/dirent.h 2009-05-25 18:14:44 +0100
@@ -4,10 +4,39 @@
not support <dirent.h>, we will get this file which uses #error to force
an error. */
@ -6367,8 +6371,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/dirent.h newlib-1.17.0-ppc/new
+#endif // _dirent_h_
\ No newline at end of file
diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/iosupport.h newlib-1.17.0-ppc/newlib/libc/include/sys/iosupport.h
--- newlib-1.17.0/newlib/libc/include/sys/iosupport.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/iosupport.h 2009-05-14 18:25:57.000000000 +0100
--- newlib-1.17.0/newlib/libc/include/sys/iosupport.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/iosupport.h 2009-05-25 18:14:44 +0100
@@ -0,0 +1,85 @@
+//---------------------------------------------------------------------------------
+#ifndef __iosupp_h__
@ -6456,8 +6460,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/iosupport.h newlib-1.17.0-ppc/
+#endif // __iosupp_h__
+//---------------------------------------------------------------------------------
diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/reent.h newlib-1.17.0-ppc/newlib/libc/include/sys/reent.h
--- newlib-1.17.0/newlib/libc/include/sys/reent.h 2008-12-10 23:43:12.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/reent.h 2009-05-11 18:47:12.000000000 +0100
--- newlib-1.17.0/newlib/libc/include/sys/reent.h 2008-12-10 23:43:12 +0000
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/reent.h 2009-05-25 18:14:44 +0100
@@ -203,7 +203,7 @@
/* Unix stdio files get aligned to block boundaries on fseek() */
@ -6468,8 +6472,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/reent.h newlib-1.17.0-ppc/newl
#ifndef _REENT_SMALL
struct _reent *_data; /* Here for binary compatibility? Remove? */
diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/statvfs.h newlib-1.17.0-ppc/newlib/libc/include/sys/statvfs.h
--- newlib-1.17.0/newlib/libc/include/sys/statvfs.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/statvfs.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/include/sys/statvfs.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/statvfs.h 2009-05-25 18:14:44 +0100
@@ -0,0 +1,35 @@
+#ifndef _SYS_STATVFS_H
+#define _SYS_STATVFS_H
@ -6508,8 +6512,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/statvfs.h newlib-1.17.0-ppc/ne
+#endif // _SYS_STATVFS_H
\ No newline at end of file
diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/syslimits.h newlib-1.17.0-ppc/newlib/libc/include/sys/syslimits.h
--- newlib-1.17.0/newlib/libc/include/sys/syslimits.h 2002-08-23 02:56:03.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/syslimits.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/include/sys/syslimits.h 2002-08-23 02:56:03 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/syslimits.h 2009-05-25 18:14:44 +0100
@@ -44,7 +44,7 @@
#define LINK_MAX 32767 /* max file link count */
#define MAX_CANON 255 /* max bytes in term canon input line */
@ -6520,8 +6524,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/syslimits.h newlib-1.17.0-ppc/
#ifndef OPEN_MAX
#define OPEN_MAX 64 /* max open files per process */
diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/types.h newlib-1.17.0-ppc/newlib/libc/include/sys/types.h
--- newlib-1.17.0/newlib/libc/include/sys/types.h 2008-09-26 17:15:50.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/types.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/include/sys/types.h 2008-09-26 17:15:50 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/types.h 2009-05-25 18:14:44 +0100
@@ -130,7 +130,7 @@
defined(__sparc__) || defined(__SPU__)
typedef unsigned long ino_t;
@ -6542,8 +6546,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/types.h newlib-1.17.0-ppc/newl
diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/unistd.h newlib-1.17.0-ppc/newlib/libc/include/sys/unistd.h
--- newlib-1.17.0/newlib/libc/include/sys/unistd.h 2008-10-17 00:03:40.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/unistd.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/include/sys/unistd.h 2008-10-17 00:03:40 +0100
+++ newlib-1.17.0-ppc/newlib/libc/include/sys/unistd.h 2009-05-25 18:14:44 +0100
@@ -211,12 +211,10 @@
int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] ));
#endif
@ -6558,8 +6562,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/include/sys/unistd.h newlib-1.17.0-ppc/new
#if defined(__CYGWIN__) || defined(__rtems__)
int _EXFUN(getdtablesize, (void));
diff -Nbaur newlib-1.17.0/newlib/libc/locale/locale.c newlib-1.17.0-ppc/newlib/libc/locale/locale.c
--- newlib-1.17.0/newlib/libc/locale/locale.c 2004-04-23 22:44:21.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/locale/locale.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/locale/locale.c 2004-04-23 22:44:21 +0100
+++ newlib-1.17.0-ppc/newlib/libc/locale/locale.c 2009-05-25 18:14:44 +0100
@@ -95,7 +95,7 @@
#ifdef __CYGWIN__
int __declspec(dllexport) __mb_cur_max = 1;
@ -6603,8 +6607,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/locale/locale.c newlib-1.17.0-ppc/newlib/l
if (category == LC_CTYPE)
diff -Nbaur newlib-1.17.0/newlib/libc/machine/powerpc/machine/_types.h newlib-1.17.0-ppc/newlib/libc/machine/powerpc/machine/_types.h
--- newlib-1.17.0/newlib/libc/machine/powerpc/machine/_types.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/machine/powerpc/machine/_types.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/machine/powerpc/machine/_types.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/newlib/libc/machine/powerpc/machine/_types.h 2009-05-25 18:14:44 +0100
@@ -0,0 +1,15 @@
+/*
+ * $Id: newlib-1.16.0.patch,v 1.8 2008-11-29 12:08:00 wntrmute Exp $
@ -6622,8 +6626,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/machine/powerpc/machine/_types.h newlib-1.
+
+#endif // _MACHINE__TYPES_H
diff -Nbaur newlib-1.17.0/newlib/libc/machine/powerpc/sys/lock.h newlib-1.17.0-ppc/newlib/libc/machine/powerpc/sys/lock.h
--- newlib-1.17.0/newlib/libc/machine/powerpc/sys/lock.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/machine/powerpc/sys/lock.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/machine/powerpc/sys/lock.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/newlib/libc/machine/powerpc/sys/lock.h 2009-05-25 18:14:44 +0100
@@ -0,0 +1,53 @@
+#ifndef __SYS_LOCK_H__
+#define __SYS_LOCK_H__
@ -6679,8 +6683,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/machine/powerpc/sys/lock.h newlib-1.17.0-p
+
+#endif /* __SYS_LOCK_H__ */
diff -Nbaur newlib-1.17.0/newlib/libc/machine/powerpc/sys/stdio.h newlib-1.17.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h
--- newlib-1.17.0/newlib/libc/machine/powerpc/sys/stdio.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/machine/powerpc/sys/stdio.h 1970-01-01 00:00:00 +0000
+++ newlib-1.17.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h 2009-05-25 18:14:45 +0100
@@ -0,0 +1,25 @@
+#ifndef _NEWLIB_STDIO_H
+#define _NEWLIB_STDIO_H
@ -6708,8 +6712,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/machine/powerpc/sys/stdio.h newlib-1.17.0-
+#endif /* _NEWLIB_STDIO_H */
+
diff -Nbaur newlib-1.17.0/newlib/libc/misc/init.c newlib-1.17.0-ppc/newlib/libc/misc/init.c
--- newlib-1.17.0/newlib/libc/misc/init.c 2005-01-07 18:04:39.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/misc/init.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/misc/init.c 2005-01-07 18:04:39 +0000
+++ newlib-1.17.0-ppc/newlib/libc/misc/init.c 2009-05-25 18:14:45 +0100
@@ -57,4 +57,8 @@
_fini ();
@ -6720,8 +6724,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/misc/init.c newlib-1.17.0-ppc/newlib/libc/
+
#endif
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fgetc.c newlib-1.17.0-ppc/newlib/libc/stdio/fgetc.c
--- newlib-1.17.0/newlib/libc/stdio/fgetc.c 2006-09-26 22:22:19.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fgetc.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/fgetc.c 2006-09-26 22:22:19 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fgetc.c 2009-05-25 18:14:45 +0100
@@ -93,9 +93,11 @@
#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
int result;
@ -6735,8 +6739,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fgetc.c newlib-1.17.0-ppc/newlib/lib
#else
return _fgetc_r (_REENT, fp);
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fgets.c newlib-1.17.0-ppc/newlib/libc/stdio/fgets.c
--- newlib-1.17.0/newlib/libc/stdio/fgets.c 2006-09-26 22:22:19.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fgets.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/fgets.c 2006-09-26 22:22:19 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fgets.c 2009-05-25 18:14:45 +0100
@@ -98,6 +98,7 @@
CHECK_INIT(ptr, fp);
@ -6782,9 +6786,49 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fgets.c newlib-1.17.0-ppc/newlib/lib
return buf;
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fgetwc.c newlib-1.17.0-ppc/newlib/libc/stdio/fgetwc.c
--- newlib-1.17.0/newlib/libc/stdio/fgetwc.c 2008-12-10 23:43:12 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fgetwc.c 2009-06-02 21:20:35 +0100
@@ -164,10 +164,12 @@
{
wint_t r;
+ __sfp_lock_acquire ();
_flockfile (fp);
ORIENT(fp, 1);
r = __fgetwc (ptr, fp);
_funlockfile (fp);
+ __sfp_lock_release ();
return r;
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fgetws.c newlib-1.17.0-ppc/newlib/libc/stdio/fgetws.c
--- newlib-1.17.0/newlib/libc/stdio/fgetws.c 2008-12-10 23:43:12 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fgetws.c 2009-06-02 21:20:35 +0100
@@ -93,6 +93,7 @@
const char *src;
unsigned char *nl;
+ __sfp_lock_acquire ();
_flockfile (fp);
ORIENT (fp, 1);
@@ -143,10 +144,12 @@
goto error;
*wsp++ = L'\0';
_funlockfile (fp);
+ __sfp_lock_release ();
return ws;
error:
_funlockfile (fp);
+ __sfp_lock_release ();
return NULL;
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/findfp.c newlib-1.17.0-ppc/newlib/libc/stdio/findfp.c
--- newlib-1.17.0/newlib/libc/stdio/findfp.c 2008-12-10 23:43:12.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/findfp.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/findfp.c 2008-12-10 23:43:12 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/findfp.c 2009-05-25 18:14:45 +0100
@@ -222,7 +222,8 @@
/* POSIX requires stderr to be opened for reading and writing, even
@ -6796,8 +6840,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/findfp.c newlib-1.17.0-ppc/newlib/li
__sinit_lock_release ();
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fopen.c newlib-1.17.0-ppc/newlib/libc/stdio/fopen.c
--- newlib-1.17.0/newlib/libc/stdio/fopen.c 2004-06-11 21:37:10.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fopen.c 2009-05-14 15:24:25.000000000 +0100
--- newlib-1.17.0/newlib/libc/stdio/fopen.c 2004-06-11 21:37:10 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fopen.c 2009-05-25 18:14:45 +0100
@@ -151,6 +151,9 @@
_flockfile (fp);
@ -6809,8 +6853,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fopen.c newlib-1.17.0-ppc/newlib/lib
fp->_flags = flags;
fp->_cookie = (_PTR) fp;
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fread.c newlib-1.17.0-ppc/newlib/libc/stdio/fread.c
--- newlib-1.17.0/newlib/libc/stdio/fread.c 2008-12-11 17:27:56.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fread.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/fread.c 2008-12-11 17:27:56 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fread.c 2009-05-25 18:14:45 +0100
@@ -146,6 +146,7 @@
CHECK_INIT(ptr, fp);
@ -6859,8 +6903,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fread.c newlib-1.17.0-ppc/newlib/lib
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fseek.c newlib-1.17.0-ppc/newlib/libc/stdio/fseek.c
--- newlib-1.17.0/newlib/libc/stdio/fseek.c 2008-12-12 15:45:19.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fseek.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/fseek.c 2008-12-12 15:45:19 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fseek.c 2009-05-25 18:14:45 +0100
@@ -138,6 +138,7 @@
CHECK_INIT (ptr, fp);
@ -6935,8 +6979,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fseek.c newlib-1.17.0-ppc/newlib/lib
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fwalk.c newlib-1.17.0-ppc/newlib/libc/stdio/fwalk.c
--- newlib-1.17.0/newlib/libc/stdio/fwalk.c 2004-09-16 22:26:51.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fwalk.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/fwalk.c 2004-09-16 22:26:51 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/fwalk.c 2009-06-02 21:28:53 +0100
@@ -40,10 +40,8 @@
for (fp = g->_iobs, n = g->_niobs; --n >= 0; fp++)
if (fp->_flags != 0)
@ -6948,20 +6992,24 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/fwalk.c newlib-1.17.0-ppc/newlib/lib
}
return ret;
@@ -64,10 +62,8 @@
@@ -62,14 +60,10 @@
for (g = &ptr->__sglue; g != NULL; g = g->_next)
for (fp = g->_iobs, n = g->_niobs; --n >= 0; fp++)
if (fp->_flags != 0)
- if (fp->_flags != 0)
{
- _flockfile (fp);
if (fp->_flags != 0 && fp->_file != -1)
ret |= (*reent_function) (ptr, fp);
- _funlockfile (fp);
}
-
return ret;
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/getc.c newlib-1.17.0-ppc/newlib/libc/stdio/getc.c
--- newlib-1.17.0/newlib/libc/stdio/getc.c 2006-09-26 22:22:19.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/getc.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/getc.c 2006-09-26 22:22:19 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/getc.c 2009-05-25 18:14:45 +0100
@@ -92,9 +92,11 @@
{
int result;
@ -6987,8 +7035,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/getc.c newlib-1.17.0-ppc/newlib/libc
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/getdelim.c newlib-1.17.0-ppc/newlib/libc/stdio/getdelim.c
--- newlib-1.17.0/newlib/libc/stdio/getdelim.c 2006-09-26 22:22:19.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/getdelim.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/getdelim.c 2006-09-26 22:22:19 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdio/getdelim.c 2009-05-25 18:14:45 +0100
@@ -81,6 +81,7 @@
CHECK_INIT (_REENT, fp);
@ -7005,9 +7053,35 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/getdelim.c newlib-1.17.0-ppc/newlib/
/* if no input data, return failure */
if (ptr == buf)
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/gets.c newlib-1.17.0-ppc/newlib/libc/stdio/gets.c
--- newlib-1.17.0/newlib/libc/stdio/gets.c 2008-11-25 09:33:43 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/gets.c 2009-06-02 21:20:46 +0100
@@ -79,12 +79,14 @@
register int c;
register char *s = buf;
+ __sfp_lock_acquire ();
_flockfile (stdin);
while ((c = __sgetc_r (ptr, stdin)) != '\n')
if (c == EOF)
if (s == buf)
{
_funlockfile (stdin);
+ __sfp_lock_release ();
return NULL;
}
else
@@ -93,6 +95,7 @@
*s++ = c;
*s = 0;
_funlockfile (stdin);
+ __sfp_lock_release ();
return buf;
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdio/vfscanf.c newlib-1.17.0-ppc/newlib/libc/stdio/vfscanf.c
--- newlib-1.17.0/newlib/libc/stdio/vfscanf.c 2008-12-11 17:27:56.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/vfscanf.c 2009-01-15 21:23:53.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdio/vfscanf.c 2008-12-11 17:27:56 +0000
+++ newlib-1.17.0-ppc/newlib/libc/stdio/vfscanf.c 2009-05-25 18:14:45 +0100
@@ -489,6 +489,7 @@
# define GET_ARG(n, ap, type) (va_arg (ap, type))
#endif
@ -7039,8 +7113,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdio/vfscanf.c newlib-1.17.0-ppc/newlib/l
}
diff -Nbaur newlib-1.17.0/newlib/libc/stdlib/mlock.c newlib-1.17.0-ppc/newlib/libc/stdlib/mlock.c
--- newlib-1.17.0/newlib/libc/stdlib/mlock.c 2005-10-28 22:21:07.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdlib/mlock.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/stdlib/mlock.c 2005-10-28 22:21:07 +0100
+++ newlib-1.17.0-ppc/newlib/libc/stdlib/mlock.c 2009-05-25 18:14:45 +0100
@@ -39,6 +39,7 @@
#include <malloc.h>
#include <sys/lock.h>
@ -7057,8 +7131,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/stdlib/mlock.c newlib-1.17.0-ppc/newlib/li
+*/
#endif
diff -Nbaur newlib-1.17.0/newlib/libc/syscalls/Makefile.am newlib-1.17.0-ppc/newlib/libc/syscalls/Makefile.am
--- newlib-1.17.0/newlib/libc/syscalls/Makefile.am 2008-01-03 22:33:37.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/syscalls/Makefile.am 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/syscalls/Makefile.am 2008-01-03 22:33:37 +0000
+++ newlib-1.17.0-ppc/newlib/libc/syscalls/Makefile.am 2009-05-25 18:14:45 +0100
@@ -22,7 +22,6 @@
sysunlink.c \
syswrite.c
@ -7068,8 +7142,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/syscalls/Makefile.am newlib-1.17.0-ppc/new
if ELIX_LEVEL_1
ELIX_SOURCES =
diff -Nbaur newlib-1.17.0/newlib/libc/time/asctime_r.c newlib-1.17.0-ppc/newlib/libc/time/asctime_r.c
--- newlib-1.17.0/newlib/libc/time/asctime_r.c 2000-05-10 18:58:29.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libc/time/asctime_r.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/time/asctime_r.c 2000-05-10 18:58:29 +0100
+++ newlib-1.17.0-ppc/newlib/libc/time/asctime_r.c 2009-05-25 18:14:45 +0100
@@ -18,7 +18,7 @@
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
@ -7080,8 +7154,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/time/asctime_r.c newlib-1.17.0-ppc/newlib/
mon_name[tim_p->tm_mon],
tim_p->tm_mday, tim_p->tm_hour, tim_p->tm_min,
diff -Nbaur newlib-1.17.0/newlib/libc/time/strftime.c newlib-1.17.0-ppc/newlib/libc/time/strftime.c
--- newlib-1.17.0/newlib/libc/time/strftime.c 2005-02-25 22:31:21.000000000 +0000
+++ newlib-1.17.0-ppc/newlib/libc/time/strftime.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libc/time/strftime.c 2005-02-25 22:31:21 +0000
+++ newlib-1.17.0-ppc/newlib/libc/time/strftime.c 2009-05-25 18:14:45 +0100
@@ -424,7 +424,7 @@
int century = tim_p->tm_year >= 0
? tim_p->tm_year / 100 + YEAR_BASE / 100
@ -7264,8 +7338,8 @@ diff -Nbaur newlib-1.17.0/newlib/libc/time/strftime.c newlib-1.17.0-ppc/newlib/l
count += 5;
}
diff -Nbaur newlib-1.17.0/newlib/libm/mathfp/sf_logarithm.c newlib-1.17.0-ppc/newlib/libm/mathfp/sf_logarithm.c
--- newlib-1.17.0/newlib/libm/mathfp/sf_logarithm.c 2007-10-18 01:03:32.000000000 +0100
+++ newlib-1.17.0-ppc/newlib/libm/mathfp/sf_logarithm.c 2008-12-30 09:33:00.000000000 +0000
--- newlib-1.17.0/newlib/libm/mathfp/sf_logarithm.c 2007-10-18 01:03:32 +0100
+++ newlib-1.17.0-ppc/newlib/libm/mathfp/sf_logarithm.c 2009-05-25 18:14:45 +0100
@@ -49,7 +49,7 @@
errno = EDOM;
return (z_notanum_f.f);