mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-20 09:24:11 -05:00
threadsafe __alloc_handle
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
diff -Nbaur newlib-1.18.0/libgloss/configure newlib-1.18.0-ppc/libgloss/configure
|
||||
--- newlib-1.18.0/libgloss/configure 2009-12-10 17:07:03.000000000 +0000
|
||||
+++ newlib-1.18.0-ppc/libgloss/configure 2010-06-17 11:53:03.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/configure 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -1819,6 +1819,7 @@
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ diff -Nbaur newlib-1.18.0/libgloss/configure newlib-1.18.0-ppc/libgloss/configur
|
||||
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
||||
ac_cs_awk_cr='\\r'
|
||||
diff -Nbaur newlib-1.18.0/libgloss/configure.in newlib-1.18.0-ppc/libgloss/configure.in
|
||||
--- newlib-1.18.0/libgloss/configure.in 2009-12-10 17:07:03.000000000 +0000
|
||||
--- newlib-1.18.0/libgloss/configure.in 2009-12-10 17:07:03.000000000 +0000
|
||||
+++ newlib-1.18.0-ppc/libgloss/configure.in 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -2,6 +2,7 @@
|
||||
AC_PREREQ(2.59)
|
||||
@@ -62,7 +62,7 @@ diff -Nbaur newlib-1.18.0/libgloss/configure.in newlib-1.18.0-ppc/libgloss/confi
|
||||
AS=${AS-as}
|
||||
AC_SUBST(AS)
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/Makefile.in newlib-1.18.0-ppc/libgloss/libsysbase/Makefile.in
|
||||
--- newlib-1.18.0/libgloss/libsysbase/Makefile.in 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/Makefile.in 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/Makefile.in 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,148 @@
|
||||
+# Copyright (c) 1998 Cygnus Support
|
||||
@@ -214,7 +214,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/Makefile.in newlib-1.18.0-ppc/libg
|
||||
+config.status: configure
|
||||
+ $(SHELL) config.status --recheck
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/_exit.c newlib-1.18.0-ppc/libgloss/libsysbase/_exit.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/_exit.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/_exit.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/_exit.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,19 @@
|
||||
+/* Stub version of _exit. */
|
||||
@@ -237,7 +237,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/_exit.c newlib-1.18.0-ppc/libgloss
|
||||
+ while(1);
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/abort.c newlib-1.18.0-ppc/libgloss/libsysbase/abort.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/abort.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/abort.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/abort.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,8 @@
|
||||
+#include <stdlib.h>
|
||||
@@ -249,7 +249,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/abort.c newlib-1.18.0-ppc/libgloss
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/acconfig.h newlib-1.18.0-ppc/libgloss/libsysbase/acconfig.h
|
||||
--- newlib-1.18.0/libgloss/libsysbase/acconfig.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/acconfig.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/acconfig.h 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,29 @@
|
||||
+/* Name of package. */
|
||||
@@ -282,7 +282,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/acconfig.h newlib-1.18.0-ppc/libgl
|
||||
+/* symbol prefix */
|
||||
+#undef __SYMBOL_PREFIX
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/aclocal.m4 newlib-1.18.0-ppc/libgloss/libsysbase/aclocal.m4
|
||||
--- newlib-1.18.0/libgloss/libsysbase/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/aclocal.m4 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,344 @@
|
||||
+# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
|
||||
@@ -630,7 +630,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/aclocal.m4 newlib-1.18.0-ppc/libgl
|
||||
+
|
||||
+m4_include([../acinclude.m4])
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/build_argv.c newlib-1.18.0-ppc/libgloss/libsysbase/build_argv.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/build_argv.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/build_argv.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/build_argv.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,31 @@
|
||||
+struct __argv {
|
||||
@@ -665,7 +665,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/build_argv.c newlib-1.18.0-ppc/lib
|
||||
+ argstruct->endARGV = &argv[argCount];
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/chdir.c newlib-1.18.0-ppc/libgloss/libsysbase/chdir.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/chdir.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/chdir.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/chdir.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,176 @@
|
||||
+#include <unistd.h>
|
||||
@@ -845,7 +845,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/chdir.c newlib-1.18.0-ppc/libgloss
|
||||
+ return buf;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/chmod.c newlib-1.18.0-ppc/libgloss/libsysbase/chmod.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/chmod.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/chmod.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/chmod.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,25 @@
|
||||
+#include "config.h"
|
||||
@@ -874,7 +874,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/chmod.c newlib-1.18.0-ppc/libgloss
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/close.c newlib-1.18.0-ppc/libgloss/libsysbase/close.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/close.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/close.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/close.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,42 @@
|
||||
+#include "config.h"
|
||||
@@ -920,7 +920,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/close.c newlib-1.18.0-ppc/libgloss
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/config.h.in newlib-1.18.0-ppc/libgloss/libsysbase/config.h.in
|
||||
--- newlib-1.18.0/libgloss/libsysbase/config.h.in 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/config.h.in 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/config.h.in 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,25 @@
|
||||
+/* config.h.in. Generated automatically from configure.in by autoheader. */
|
||||
@@ -949,7 +949,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/config.h.in newlib-1.18.0-ppc/libg
|
||||
+/* symbol prefix */
|
||||
+#undef __SYMBOL_PREFIX
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/configure newlib-1.18.0-ppc/libgloss/libsysbase/configure
|
||||
--- newlib-1.18.0/libgloss/libsysbase/configure 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/configure 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/configure 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,3549 @@
|
||||
+#! /bin/sh
|
||||
@@ -4502,7 +4502,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/configure newlib-1.18.0-ppc/libglo
|
||||
+
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/configure.in newlib-1.18.0-ppc/libgloss/libsysbase/configure.in
|
||||
--- newlib-1.18.0/libgloss/libsysbase/configure.in 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/configure.in 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/configure.in 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,207 @@
|
||||
+# Copyright (c) 1995, 1996 Cygnus Support
|
||||
@@ -4713,7 +4713,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/configure.in newlib-1.18.0-ppc/lib
|
||||
+
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/dir.c newlib-1.18.0-ppc/libgloss/libsysbase/dir.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/dir.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/dir.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/dir.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,94 @@
|
||||
+#include <reent.h>
|
||||
@@ -4811,7 +4811,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/dir.c newlib-1.18.0-ppc/libgloss/l
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/dirent.c newlib-1.18.0-ppc/libgloss/libsysbase/dirent.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/dirent.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/dirent.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/dirent.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,157 @@
|
||||
+#include <sys/dirent.h>
|
||||
@@ -4972,7 +4972,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/dirent.c newlib-1.18.0-ppc/libglos
|
||||
+ return dirp->position;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/environ.c newlib-1.18.0-ppc/libgloss/libsysbase/environ.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/environ.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/environ.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/environ.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,6 @@
|
||||
+/*
|
||||
@@ -4982,7 +4982,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/environ.c newlib-1.18.0-ppc/libglo
|
||||
+char *__env[1] = { 0 };
|
||||
+char **environ = __env;
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/execve.c newlib-1.18.0-ppc/libgloss/libsysbase/execve.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/execve.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/execve.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/execve.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,31 @@
|
||||
+/*
|
||||
@@ -5017,7 +5017,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/execve.c newlib-1.18.0-ppc/libglos
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/fchmod.c newlib-1.18.0-ppc/libgloss/libsysbase/fchmod.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/fchmod.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/fchmod.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/fchmod.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,30 @@
|
||||
+#include "config.h"
|
||||
@@ -5051,7 +5051,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/fchmod.c newlib-1.18.0-ppc/libglos
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/flock.c newlib-1.18.0-ppc/libgloss/libsysbase/flock.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/flock.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/flock.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/flock.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,21 @@
|
||||
+#include <config.h>
|
||||
@@ -5076,7 +5076,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/flock.c newlib-1.18.0-ppc/libgloss
|
||||
+ __lock_release_recursive(*(_LOCK_RECURSIVE_T*)&fp->_lock);
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/fork.c newlib-1.18.0-ppc/libgloss/libsysbase/fork.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/fork.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/fork.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/fork.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,25 @@
|
||||
+/*
|
||||
@@ -5105,7 +5105,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/fork.c newlib-1.18.0-ppc/libgloss/
|
||||
+ return -1;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/fstat.c newlib-1.18.0-ppc/libgloss/libsysbase/fstat.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/fstat.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/fstat.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/fstat.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,50 @@
|
||||
+#include "config.h"
|
||||
@@ -5159,7 +5159,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/fstat.c newlib-1.18.0-ppc/libgloss
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/fsync.c newlib-1.18.0-ppc/libgloss/libsysbase/fsync.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/fsync.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/fsync.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/fsync.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,36 @@
|
||||
+#include "config.h"
|
||||
@@ -5199,7 +5199,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/fsync.c newlib-1.18.0-ppc/libgloss
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/ftruncate.c newlib-1.18.0-ppc/libgloss/libsysbase/ftruncate.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/ftruncate.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/ftruncate.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/ftruncate.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,37 @@
|
||||
+#include "config.h"
|
||||
@@ -5240,7 +5240,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/ftruncate.c newlib-1.18.0-ppc/libg
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/getpid.c newlib-1.18.0-ppc/libgloss/libsysbase/getpid.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/getpid.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/getpid.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/getpid.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,21 @@
|
||||
+#include "config.h"
|
||||
@@ -5265,7 +5265,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/getpid.c newlib-1.18.0-ppc/libglos
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/gettod.c newlib-1.18.0-ppc/libgloss/libsysbase/gettod.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/gettod.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/gettod.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/gettod.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,39 @@
|
||||
+/*
|
||||
@@ -5308,8 +5308,8 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/gettod.c newlib-1.18.0-ppc/libglos
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/handle_manager.c newlib-1.18.0-ppc/libgloss/libsysbase/handle_manager.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/handle_manager.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/handle_manager.c 2010-06-17 11:53:04.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/handle_manager.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/handle_manager.c 2010-10-12 23:47:09.000000000 +0100
|
||||
@@ -0,0 +1,49 @@
|
||||
+#include <stdlib.h>
|
||||
+#include <stdio.h>
|
||||
@@ -5319,6 +5319,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/handle_manager.c newlib-1.18.0-ppc
|
||||
+#define MAX_HANDLES 1024
|
||||
+
|
||||
+static __handle* handles[MAX_HANDLES];
|
||||
+
|
||||
+__LOCK_INIT_RECURSIVE(static, __hndl_lock);
|
||||
+
|
||||
+void __release_handle(int fd) {
|
||||
@@ -5335,19 +5336,20 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/handle_manager.c newlib-1.18.0-ppc
|
||||
+}
|
||||
+
|
||||
+int __alloc_handle(int size) {
|
||||
+
|
||||
+
|
||||
+ int i, ret = -1;
|
||||
+
|
||||
+ __lock_acquire_recursive (__hndl_lock);
|
||||
+ for ( i = 0; i < MAX_HANDLES; i++ ) {
|
||||
+ if ( handles[i] == NULL ) break;
|
||||
+ }
|
||||
+
|
||||
+
|
||||
+ if ( i < MAX_HANDLES ) {
|
||||
+ handles[i] = malloc(size);
|
||||
+ if ( NULL != handles[i] ) ret = i+3;
|
||||
+ }
|
||||
+ __lock_release_recursive (__hndl_lock);
|
||||
+
|
||||
+ handles[i] = malloc(size);
|
||||
+
|
||||
+ if ( NULL == handles[i] ) return -1;
|
||||
+
|
||||
+
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
@@ -5359,7 +5361,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/handle_manager.c newlib-1.18.0-ppc
|
||||
+
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/handle_manager.h newlib-1.18.0-ppc/libgloss/libsysbase/handle_manager.h
|
||||
--- newlib-1.18.0/libgloss/libsysbase/handle_manager.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/handle_manager.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/handle_manager.h 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,10 @@
|
||||
+#ifndef __HANDLE_MANAGER_H__
|
||||
@@ -5373,7 +5375,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/handle_manager.h newlib-1.18.0-ppc
|
||||
+
|
||||
+#endif
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/iosupport.c newlib-1.18.0-ppc/libgloss/libsysbase/iosupport.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/iosupport.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/iosupport.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/iosupport.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,122 @@
|
||||
+#include <stdlib.h>
|
||||
@@ -5499,7 +5501,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/iosupport.c newlib-1.18.0-ppc/libg
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/isatty.c newlib-1.18.0-ppc/libgloss/libsysbase/isatty.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/isatty.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/isatty.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/isatty.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,15 @@
|
||||
+#include "config.h"
|
||||
@@ -5518,7 +5520,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/isatty.c newlib-1.18.0-ppc/libglos
|
||||
+ return 0;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/kill.c newlib-1.18.0-ppc/libgloss/libsysbase/kill.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/kill.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/kill.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/kill.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,23 @@
|
||||
+/*
|
||||
@@ -5545,7 +5547,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/kill.c newlib-1.18.0-ppc/libgloss/
|
||||
+ return -1;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/link.c newlib-1.18.0-ppc/libgloss/libsysbase/link.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/link.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/link.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/link.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,37 @@
|
||||
+#include "config.h"
|
||||
@@ -5586,7 +5588,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/link.c newlib-1.18.0-ppc/libgloss/
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/lseek.c newlib-1.18.0-ppc/libgloss/libsysbase/lseek.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/lseek.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/lseek.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/lseek.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,55 @@
|
||||
+#include "config.h"
|
||||
@@ -5645,13 +5647,13 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/lseek.c newlib-1.18.0-ppc/libgloss
|
||||
+
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/malloc_vars.c newlib-1.18.0-ppc/libgloss/libsysbase/malloc_vars.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/malloc_vars.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/malloc_vars.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/malloc_vars.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,2 @@
|
||||
+char *fake_heap_end = (char*)0;
|
||||
+char *fake_heap_start = (char*)0;
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/mkdir.c newlib-1.18.0-ppc/libgloss/libsysbase/mkdir.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/mkdir.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/mkdir.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/mkdir.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,18 @@
|
||||
+#include <reent.h>
|
||||
@@ -5673,7 +5675,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/mkdir.c newlib-1.18.0-ppc/libgloss
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/open.c newlib-1.18.0-ppc/libgloss/libsysbase/open.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/open.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/open.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/open.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,57 @@
|
||||
+#include "config.h"
|
||||
@@ -5734,7 +5736,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/open.c newlib-1.18.0-ppc/libgloss/
|
||||
+ return fd;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/read.c newlib-1.18.0-ppc/libgloss/libsysbase/read.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/read.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/read.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/read.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,48 @@
|
||||
+#include "config.h"
|
||||
@@ -5786,7 +5788,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/read.c newlib-1.18.0-ppc/libgloss/
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/rename.c newlib-1.18.0-ppc/libgloss/libsysbase/rename.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/rename.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/rename.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/rename.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,39 @@
|
||||
+#include <reent.h>
|
||||
@@ -5829,7 +5831,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/rename.c newlib-1.18.0-ppc/libglos
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/sbrk.c newlib-1.18.0-ppc/libgloss/libsysbase/sbrk.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/sbrk.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/sbrk.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/sbrk.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,26 @@
|
||||
+#include "config.h"
|
||||
@@ -5859,7 +5861,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/sbrk.c newlib-1.18.0-ppc/libgloss/
|
||||
+
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/stat.c newlib-1.18.0-ppc/libgloss/libsysbase/stat.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/stat.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/stat.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/stat.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,39 @@
|
||||
+#include "config.h"
|
||||
@@ -5902,7 +5904,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/stat.c newlib-1.18.0-ppc/libgloss/
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/statvfs.c newlib-1.18.0-ppc/libgloss/libsysbase/statvfs.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/statvfs.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/statvfs.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/statvfs.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,23 @@
|
||||
+#include <reent.h>
|
||||
@@ -5929,7 +5931,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/statvfs.c newlib-1.18.0-ppc/libglo
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/syscall_support.c newlib-1.18.0-ppc/libgloss/libsysbase/syscall_support.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/syscall_support.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/syscall_support.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/syscall_support.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,66 @@
|
||||
+#include <sys/iosupport.h>
|
||||
@@ -5999,7 +6001,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/syscall_support.c newlib-1.18.0-pp
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/truncate.c newlib-1.18.0-ppc/libgloss/libsysbase/truncate.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/truncate.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/truncate.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/truncate.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,59 @@
|
||||
+#include "config.h"
|
||||
@@ -6062,7 +6064,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/truncate.c newlib-1.18.0-ppc/libgl
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/unlink.c newlib-1.18.0-ppc/libgloss/libsysbase/unlink.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/unlink.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/unlink.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/unlink.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,33 @@
|
||||
+#include "config.h"
|
||||
@@ -6099,7 +6101,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/unlink.c newlib-1.18.0-ppc/libglos
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/wait.c newlib-1.18.0-ppc/libgloss/libsysbase/wait.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/wait.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/wait.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/wait.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,28 @@
|
||||
+/*
|
||||
@@ -6131,7 +6133,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/wait.c newlib-1.18.0-ppc/libgloss/
|
||||
+}
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/warning.h newlib-1.18.0-ppc/libgloss/libsysbase/warning.h
|
||||
--- newlib-1.18.0/libgloss/libsysbase/warning.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/warning.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/warning.h 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,43 @@
|
||||
+#ifndef __WARNING_H__
|
||||
@@ -6178,7 +6180,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/warning.h newlib-1.18.0-ppc/libglo
|
||||
+
|
||||
+#endif /* __WARNING_H__ */
|
||||
diff -Nbaur newlib-1.18.0/libgloss/libsysbase/write.c newlib-1.18.0-ppc/libgloss/libsysbase/write.c
|
||||
--- newlib-1.18.0/libgloss/libsysbase/write.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/libsysbase/write.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/libsysbase/write.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,48 @@
|
||||
+#include "config.h"
|
||||
@@ -6230,7 +6232,7 @@ diff -Nbaur newlib-1.18.0/libgloss/libsysbase/write.c newlib-1.18.0-ppc/libgloss
|
||||
+ return ret;
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/libgloss/rs6000/Makefile.in newlib-1.18.0-ppc/libgloss/rs6000/Makefile.in
|
||||
--- newlib-1.18.0/libgloss/rs6000/Makefile.in 2009-06-17 17:38:22.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/rs6000/Makefile.in 2009-06-17 17:38:22.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/rs6000/Makefile.in 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -129,6 +129,9 @@
|
||||
XIL_TEST = xil-test
|
||||
@@ -6280,7 +6282,7 @@ diff -Nbaur newlib-1.18.0/libgloss/rs6000/Makefile.in newlib-1.18.0-ppc/libgloss
|
||||
info:
|
||||
install-info:
|
||||
diff -Nbaur newlib-1.18.0/libgloss/rs6000/crtmain.c newlib-1.18.0-ppc/libgloss/rs6000/crtmain.c
|
||||
--- newlib-1.18.0/libgloss/rs6000/crtmain.c 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/libgloss/rs6000/crtmain.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/libgloss/rs6000/crtmain.c 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,18 @@
|
||||
+#include <unistd.h>
|
||||
@@ -6302,7 +6304,7 @@ diff -Nbaur newlib-1.18.0/libgloss/rs6000/crtmain.c newlib-1.18.0-ppc/libgloss/r
|
||||
+ exit ( main(__system_argv->argc,__system_argv->argv) );
|
||||
+}
|
||||
diff -Nbaur newlib-1.18.0/newlib/configure.host newlib-1.18.0-ppc/newlib/configure.host
|
||||
--- newlib-1.18.0/newlib/configure.host 2009-12-10 17:12:11.000000000 +0000
|
||||
--- newlib-1.18.0/newlib/configure.host 2009-12-10 17:12:11.000000000 +0000
|
||||
+++ newlib-1.18.0-ppc/newlib/configure.host 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -715,7 +715,12 @@
|
||||
default_newlib_io_long_long="yes"
|
||||
@@ -6674,7 +6676,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/pthread.h newlib-1.18.0-ppc/newlib
|
||||
-#endif
|
||||
-/* end of include file */
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/stdint.h newlib-1.18.0-ppc/newlib/libc/include/stdint.h
|
||||
--- newlib-1.18.0/newlib/libc/include/stdint.h 2009-04-24 22:55:07.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/include/stdint.h 2009-04-24 22:55:07.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/stdint.h 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -75,14 +75,14 @@
|
||||
#endif
|
||||
@@ -6697,7 +6699,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/stdint.h newlib-1.18.0-ppc/newlib/
|
||||
typedef signed short int32_t;
|
||||
typedef unsigned short uint32_t;
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/dir.h newlib-1.18.0-ppc/newlib/libc/include/sys/dir.h
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/dir.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/dir.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/sys/dir.h 2010-10-12 23:32:17.000000000 +0100
|
||||
@@ -0,0 +1,32 @@
|
||||
+/* <dir.h>
|
||||
@@ -6733,7 +6735,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/dir.h newlib-1.18.0-ppc/newlib
|
||||
+
|
||||
+#endif // _dir_h_
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/dirent.h newlib-1.18.0-ppc/newlib/libc/include/sys/dirent.h
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/dirent.h 2005-10-04 21:47:39.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/dirent.h 2005-10-04 21:47:39.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/sys/dirent.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -4,10 +4,39 @@
|
||||
not support <dirent.h>, we will get this file which uses #error to force
|
||||
@@ -6778,7 +6780,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/dirent.h newlib-1.18.0-ppc/new
|
||||
+#endif // _dirent_h_
|
||||
\ No newline at end of file
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/iosupport.h newlib-1.18.0-ppc/newlib/libc/include/sys/iosupport.h
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/iosupport.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/iosupport.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/sys/iosupport.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -0,0 +1,89 @@
|
||||
+//---------------------------------------------------------------------------------
|
||||
@@ -6871,7 +6873,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/iosupport.h newlib-1.18.0-ppc/
|
||||
+#endif // __iosupp_h__
|
||||
+//---------------------------------------------------------------------------------
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/reent.h newlib-1.18.0-ppc/newlib/libc/include/sys/reent.h
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/reent.h 2009-12-17 19:43:43.000000000 +0000
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/reent.h 2009-12-17 19:43:43.000000000 +0000
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/sys/reent.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -203,7 +203,7 @@
|
||||
|
||||
@@ -6883,7 +6885,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/reent.h newlib-1.18.0-ppc/newl
|
||||
#ifndef _REENT_SMALL
|
||||
struct _reent *_data; /* Here for binary compatibility? Remove? */
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/statvfs.h newlib-1.18.0-ppc/newlib/libc/include/sys/statvfs.h
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/statvfs.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/statvfs.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/sys/statvfs.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -0,0 +1,35 @@
|
||||
+#ifndef _SYS_STATVFS_H
|
||||
@@ -6923,7 +6925,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/statvfs.h newlib-1.18.0-ppc/ne
|
||||
+#endif // _SYS_STATVFS_H
|
||||
\ No newline at end of file
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/syslimits.h newlib-1.18.0-ppc/newlib/libc/include/sys/syslimits.h
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/syslimits.h 2002-08-23 02:56:03.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/syslimits.h 2002-08-23 02:56:03.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/sys/syslimits.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -44,7 +44,7 @@
|
||||
#define LINK_MAX 32767 /* max file link count */
|
||||
@@ -6935,7 +6937,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/syslimits.h newlib-1.18.0-ppc/
|
||||
#ifndef OPEN_MAX
|
||||
#define OPEN_MAX 64 /* max open files per process */
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/types.h newlib-1.18.0-ppc/newlib/libc/include/sys/types.h
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/types.h 2009-09-28 17:42:21.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/types.h 2009-09-28 17:42:21.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/sys/types.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -130,7 +130,7 @@
|
||||
defined(__sparc__) || defined(__SPU__)
|
||||
@@ -6957,7 +6959,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/types.h newlib-1.18.0-ppc/newl
|
||||
|
||||
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/unistd.h newlib-1.18.0-ppc/newlib/libc/include/sys/unistd.h
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/unistd.h 2009-12-17 19:43:43.000000000 +0000
|
||||
--- newlib-1.18.0/newlib/libc/include/sys/unistd.h 2009-12-17 19:43:43.000000000 +0000
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/include/sys/unistd.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -215,12 +215,10 @@
|
||||
int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] ));
|
||||
@@ -6973,7 +6975,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/include/sys/unistd.h newlib-1.18.0-ppc/new
|
||||
#if defined(__CYGWIN__) || defined(__rtems__)
|
||||
int _EXFUN(getdtablesize, (void));
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/locale/locale.c newlib-1.18.0-ppc/newlib/libc/locale/locale.c
|
||||
--- newlib-1.18.0/newlib/libc/locale/locale.c 2009-10-09 09:25:28.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/locale/locale.c 2009-10-09 09:25:28.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/locale/locale.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -175,7 +175,6 @@
|
||||
#define _LC_LAST 7
|
||||
@@ -7020,7 +7022,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/locale/locale.c newlib-1.18.0-ppc/newlib/l
|
||||
#else
|
||||
strcpy (charset, "ASCII");
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/machine/powerpc/machine/_types.h newlib-1.18.0-ppc/newlib/libc/machine/powerpc/machine/_types.h
|
||||
--- newlib-1.18.0/newlib/libc/machine/powerpc/machine/_types.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/machine/powerpc/machine/_types.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/machine/powerpc/machine/_types.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -0,0 +1,15 @@
|
||||
+/*
|
||||
@@ -7039,7 +7041,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/machine/powerpc/machine/_types.h newlib-1.
|
||||
+
|
||||
+#endif // _MACHINE__TYPES_H
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/machine/powerpc/sys/lock.h newlib-1.18.0-ppc/newlib/libc/machine/powerpc/sys/lock.h
|
||||
--- newlib-1.18.0/newlib/libc/machine/powerpc/sys/lock.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/machine/powerpc/sys/lock.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/machine/powerpc/sys/lock.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -0,0 +1,53 @@
|
||||
+#ifndef __SYS_LOCK_H__
|
||||
@@ -7096,7 +7098,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/machine/powerpc/sys/lock.h newlib-1.18.0-p
|
||||
+
|
||||
+#endif /* __SYS_LOCK_H__ */
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/machine/powerpc/sys/stdio.h newlib-1.18.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h
|
||||
--- newlib-1.18.0/newlib/libc/machine/powerpc/sys/stdio.h 1970-01-01 01:00:00.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/machine/powerpc/sys/stdio.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -0,0 +1,25 @@
|
||||
+#ifndef _NEWLIB_STDIO_H
|
||||
@@ -7125,7 +7127,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/machine/powerpc/sys/stdio.h newlib-1.18.0-
|
||||
+#endif /* _NEWLIB_STDIO_H */
|
||||
+
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/misc/init.c newlib-1.18.0-ppc/newlib/libc/misc/init.c
|
||||
--- newlib-1.18.0/newlib/libc/misc/init.c 2009-04-16 20:16:41.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/misc/init.c 2009-04-16 20:16:41.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/misc/init.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -57,4 +57,8 @@
|
||||
|
||||
@@ -7137,7 +7139,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/misc/init.c newlib-1.18.0-ppc/newlib/libc/
|
||||
+
|
||||
#endif
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/stdio/findfp.c newlib-1.18.0-ppc/newlib/libc/stdio/findfp.c
|
||||
--- newlib-1.18.0/newlib/libc/stdio/findfp.c 2008-12-10 23:43:12.000000000 +0000
|
||||
--- newlib-1.18.0/newlib/libc/stdio/findfp.c 2008-12-10 23:43:12.000000000 +0000
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/stdio/findfp.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -222,7 +222,8 @@
|
||||
|
||||
@@ -7150,7 +7152,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/stdio/findfp.c newlib-1.18.0-ppc/newlib/li
|
||||
__sinit_lock_release ();
|
||||
}
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/stdio/fopen.c newlib-1.18.0-ppc/newlib/libc/stdio/fopen.c
|
||||
--- newlib-1.18.0/newlib/libc/stdio/fopen.c 2004-06-11 21:37:10.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/stdio/fopen.c 2004-06-11 21:37:10.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/stdio/fopen.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -151,6 +151,9 @@
|
||||
|
||||
@@ -7163,7 +7165,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/stdio/fopen.c newlib-1.18.0-ppc/newlib/lib
|
||||
fp->_flags = flags;
|
||||
fp->_cookie = (_PTR) fp;
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/stdio/fvwrite.c newlib-1.18.0-ppc/newlib/libc/stdio/fvwrite.c
|
||||
--- newlib-1.18.0/newlib/libc/stdio/fvwrite.c 2007-07-13 21:37:53.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/stdio/fvwrite.c 2007-07-13 21:37:53.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/stdio/fvwrite.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -98,7 +98,8 @@
|
||||
do
|
||||
@@ -7176,7 +7178,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/stdio/fvwrite.c newlib-1.18.0-ppc/newlib/l
|
||||
goto err;
|
||||
p += w;
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/stdlib/mbtowc_r.c newlib-1.18.0-ppc/newlib/libc/stdlib/mbtowc_r.c
|
||||
--- newlib-1.18.0/newlib/libc/stdlib/mbtowc_r.c 2009-11-18 09:49:57.000000000 +0000
|
||||
--- newlib-1.18.0/newlib/libc/stdlib/mbtowc_r.c 2009-11-18 09:49:57.000000000 +0000
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/stdlib/mbtowc_r.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
@@ -7188,7 +7190,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/stdlib/mbtowc_r.c newlib-1.18.0-ppc/newlib
|
||||
#else
|
||||
= __ascii_mbtowc;
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/stdlib/mlock.c newlib-1.18.0-ppc/newlib/libc/stdlib/mlock.c
|
||||
--- newlib-1.18.0/newlib/libc/stdlib/mlock.c 2005-10-28 22:21:07.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/stdlib/mlock.c 2005-10-28 22:21:07.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/stdlib/mlock.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <malloc.h>
|
||||
@@ -7206,7 +7208,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/stdlib/mlock.c newlib-1.18.0-ppc/newlib/li
|
||||
+*/
|
||||
#endif
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/stdlib/wctomb_r.c newlib-1.18.0-ppc/newlib/libc/stdlib/wctomb_r.c
|
||||
--- newlib-1.18.0/newlib/libc/stdlib/wctomb_r.c 2009-10-03 09:51:07.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/stdlib/wctomb_r.c 2009-10-03 09:51:07.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/stdlib/wctomb_r.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
@@ -7218,7 +7220,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/stdlib/wctomb_r.c newlib-1.18.0-ppc/newlib
|
||||
#else
|
||||
= __ascii_wctomb;
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/syscalls/Makefile.am newlib-1.18.0-ppc/newlib/libc/syscalls/Makefile.am
|
||||
--- newlib-1.18.0/newlib/libc/syscalls/Makefile.am 2008-01-03 22:33:37.000000000 +0000
|
||||
--- newlib-1.18.0/newlib/libc/syscalls/Makefile.am 2008-01-03 22:33:37.000000000 +0000
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/syscalls/Makefile.am 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -22,7 +22,6 @@
|
||||
sysunlink.c \
|
||||
@@ -7229,7 +7231,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/syscalls/Makefile.am newlib-1.18.0-ppc/new
|
||||
if ELIX_LEVEL_1
|
||||
ELIX_SOURCES =
|
||||
diff -Nbaur newlib-1.18.0/newlib/libc/time/asctime_r.c newlib-1.18.0-ppc/newlib/libc/time/asctime_r.c
|
||||
--- newlib-1.18.0/newlib/libc/time/asctime_r.c 2000-05-10 18:58:29.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libc/time/asctime_r.c 2000-05-10 18:58:29.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libc/time/asctime_r.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -18,7 +18,7 @@
|
||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
|
||||
@@ -7241,7 +7243,7 @@ diff -Nbaur newlib-1.18.0/newlib/libc/time/asctime_r.c newlib-1.18.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.18.0/newlib/libm/mathfp/sf_logarithm.c newlib-1.18.0-ppc/newlib/libm/mathfp/sf_logarithm.c
|
||||
--- newlib-1.18.0/newlib/libm/mathfp/sf_logarithm.c 2007-10-18 01:03:32.000000000 +0100
|
||||
--- newlib-1.18.0/newlib/libm/mathfp/sf_logarithm.c 2007-10-18 01:03:32.000000000 +0100
|
||||
+++ newlib-1.18.0-ppc/newlib/libm/mathfp/sf_logarithm.c 2010-10-12 23:32:18.000000000 +0100
|
||||
@@ -49,7 +49,7 @@
|
||||
errno = EDOM;
|
||||
|
||||
Reference in New Issue
Block a user