fix dodgy patch

This commit is contained in:
Dave Murphy 2012-04-05 16:12:15 +01:00
parent 00ce3d88da
commit faa9579201

View File

@ -1,6 +1,6 @@
diff -Nbaur newlib-1.20.0/libgloss/configure newlib-1.20.0-ppc/libgloss/configure
--- newlib-1.20.0/libgloss/configure 2011-12-15 22:58:40.000000000 +0000
+++ newlib-1.20.0-ppc/libgloss/configure 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/configure 2012-04-05 15:46:27.000000000 +0100
@@ -1800,6 +1800,7 @@
@ -20,7 +20,7 @@ diff -Nbaur newlib-1.20.0/libgloss/configure newlib-1.20.0-ppc/libgloss/configur
ac_config_commands="$ac_config_commands depfiles"
diff -Nbaur newlib-1.20.0/libgloss/configure.in newlib-1.20.0-ppc/libgloss/configure.in
--- newlib-1.20.0/libgloss/configure.in 2011-12-15 22:58:40.000000000 +0000
+++ newlib-1.20.0-ppc/libgloss/configure.in 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/configure.in 2012-04-05 15:46:27.000000000 +0100
@@ -2,6 +2,7 @@
AC_PREREQ(2.59)
AC_INIT([libgloss],[LIBGLOSS_VERSION])
@ -52,7 +52,7 @@ diff -Nbaur newlib-1.20.0/libgloss/configure.in newlib-1.20.0-ppc/libgloss/confi
AC_SUBST(AS)
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/abort.c newlib-1.20.0-ppc/libgloss/libsysbase/abort.c
--- newlib-1.20.0/libgloss/libsysbase/abort.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/abort.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/abort.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,8 @@
+#include <stdlib.h>
+#include <unistd.h>
@ -64,7 +64,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/abort.c newlib-1.20.0-ppc/libgloss
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/acconfig.h newlib-1.20.0-ppc/libgloss/libsysbase/acconfig.h
--- newlib-1.20.0/libgloss/libsysbase/acconfig.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/acconfig.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/acconfig.h 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,29 @@
+/* Name of package. */
+#undef PACKAGE
@ -97,7 +97,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/acconfig.h newlib-1.20.0-ppc/libgl
+#undef __SYMBOL_PREFIX
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/aclocal.m4 newlib-1.20.0-ppc/libgloss/libsysbase/aclocal.m4
--- newlib-1.20.0/libgloss/libsysbase/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/aclocal.m4 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/aclocal.m4 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,344 @@
+# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
+
@ -445,7 +445,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/aclocal.m4 newlib-1.20.0-ppc/libgl
+m4_include([../acinclude.m4])
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/build_argv.c newlib-1.20.0-ppc/libgloss/libsysbase/build_argv.c
--- newlib-1.20.0/libgloss/libsysbase/build_argv.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/build_argv.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/build_argv.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,31 @@
+struct __argv {
+ int argvMagic;
@ -480,7 +480,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/build_argv.c newlib-1.20.0-ppc/lib
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/chdir.c newlib-1.20.0-ppc/libgloss/libsysbase/chdir.c
--- newlib-1.20.0/libgloss/libsysbase/chdir.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/chdir.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/chdir.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,176 @@
+#include <unistd.h>
+#include <reent.h>
@ -660,7 +660,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/chdir.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/chmod.c newlib-1.20.0-ppc/libgloss/libsysbase/chmod.c
--- newlib-1.20.0/libgloss/libsysbase/chmod.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/chmod.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/chmod.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,25 @@
+#include "config.h"
+#include <_ansi.h>
@ -689,7 +689,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/chmod.c newlib-1.20.0-ppc/libgloss
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/close.c newlib-1.20.0-ppc/libgloss/libsysbase/close.c
--- newlib-1.20.0/libgloss/libsysbase/close.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/close.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/close.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,42 @@
+#include "config.h"
+#include <_ansi.h>
@ -735,7 +735,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/close.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/config.h.in newlib-1.20.0-ppc/libgloss/libsysbase/config.h.in
--- newlib-1.20.0/libgloss/libsysbase/config.h.in 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/config.h.in 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/config.h.in 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,25 @@
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
@ -764,7 +764,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/config.h.in newlib-1.20.0-ppc/libg
+#undef __SYMBOL_PREFIX
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/configure newlib-1.20.0-ppc/libgloss/libsysbase/configure
--- newlib-1.20.0/libgloss/libsysbase/configure 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/configure 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/configure 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,3549 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
@ -4317,7 +4317,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/configure newlib-1.20.0-ppc/libglo
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/configure.in newlib-1.20.0-ppc/libgloss/libsysbase/configure.in
--- newlib-1.20.0/libgloss/libsysbase/configure.in 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/configure.in 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/configure.in 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,207 @@
+# Copyright (c) 1995, 1996 Cygnus Support
+#
@ -4528,7 +4528,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/configure.in newlib-1.20.0-ppc/lib
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/dirent.c newlib-1.20.0-ppc/libgloss/libsysbase/dirent.c
--- newlib-1.20.0/libgloss/libsysbase/dirent.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/dirent.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/dirent.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,200 @@
+#include <sys/dirent.h>
+#include <sys/iosupport.h>
@ -4732,7 +4732,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/dirent.c newlib-1.20.0-ppc/libglos
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/environ.c newlib-1.20.0-ppc/libgloss/libsysbase/environ.c
--- newlib-1.20.0/libgloss/libsysbase/environ.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/environ.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/environ.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,6 @@
+/*
+ * Version of environ for no OS.
@ -4742,7 +4742,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/environ.c newlib-1.20.0-ppc/libglo
+char **environ = __env;
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/execve.c newlib-1.20.0-ppc/libgloss/libsysbase/execve.c
--- newlib-1.20.0/libgloss/libsysbase/execve.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/execve.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/execve.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,31 @@
+/*
+ * Stub version of execve.
@ -4777,7 +4777,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/execve.c newlib-1.20.0-ppc/libglos
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/_exit.c newlib-1.20.0-ppc/libgloss/libsysbase/_exit.c
--- newlib-1.20.0/libgloss/libsysbase/_exit.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/_exit.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/_exit.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,19 @@
+/* Stub version of _exit. */
+
@ -4800,7 +4800,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/_exit.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/fchmod.c newlib-1.20.0-ppc/libgloss/libsysbase/fchmod.c
--- newlib-1.20.0/libgloss/libsysbase/fchmod.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/fchmod.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/fchmod.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,30 @@
+#include "config.h"
+#include <_ansi.h>
@ -4834,7 +4834,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/fchmod.c newlib-1.20.0-ppc/libglos
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/flock.c newlib-1.20.0-ppc/libgloss/libsysbase/flock.c
--- newlib-1.20.0/libgloss/libsysbase/flock.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/flock.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/flock.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,21 @@
+#include <config.h>
+#include <_ansi.h>
@ -4859,7 +4859,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/flock.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/fork.c newlib-1.20.0-ppc/libgloss/libsysbase/fork.c
--- newlib-1.20.0/libgloss/libsysbase/fork.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/fork.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/fork.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,25 @@
+/*
+ * Stub version of fork.
@ -4888,7 +4888,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/fork.c newlib-1.20.0-ppc/libgloss/
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/fstat.c newlib-1.20.0-ppc/libgloss/libsysbase/fstat.c
--- newlib-1.20.0/libgloss/libsysbase/fstat.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/fstat.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/fstat.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,50 @@
+#include "config.h"
+#include <_ansi.h>
@ -4942,7 +4942,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/fstat.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/fsync.c newlib-1.20.0-ppc/libgloss/libsysbase/fsync.c
--- newlib-1.20.0/libgloss/libsysbase/fsync.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/fsync.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/fsync.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,36 @@
+#include "config.h"
+#include <_ansi.h>
@ -4982,7 +4982,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/fsync.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/ftruncate.c newlib-1.20.0-ppc/libgloss/libsysbase/ftruncate.c
--- newlib-1.20.0/libgloss/libsysbase/ftruncate.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/ftruncate.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/ftruncate.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,37 @@
+#include "config.h"
+#include <_ansi.h>
@ -5023,7 +5023,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/ftruncate.c newlib-1.20.0-ppc/libg
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/getpid.c newlib-1.20.0-ppc/libgloss/libsysbase/getpid.c
--- newlib-1.20.0/libgloss/libsysbase/getpid.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/getpid.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/getpid.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,21 @@
+#include "config.h"
+#include <_ansi.h>
@ -5048,7 +5048,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/getpid.c newlib-1.20.0-ppc/libglos
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/gettod.c newlib-1.20.0-ppc/libgloss/libsysbase/gettod.c
--- newlib-1.20.0/libgloss/libsysbase/gettod.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/gettod.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/gettod.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,39 @@
+/*
+ * Stub version of gettimeofday.
@ -5091,7 +5091,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/gettod.c newlib-1.20.0-ppc/libglos
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/handle_manager.c newlib-1.20.0-ppc/libgloss/libsysbase/handle_manager.c
--- newlib-1.20.0/libgloss/libsysbase/handle_manager.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/handle_manager.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/handle_manager.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,49 @@
+#include <stdlib.h>
+#include <stdio.h>
@ -5144,7 +5144,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/handle_manager.c newlib-1.20.0-ppc
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/handle_manager.h newlib-1.20.0-ppc/libgloss/libsysbase/handle_manager.h
--- newlib-1.20.0/libgloss/libsysbase/handle_manager.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/handle_manager.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/handle_manager.h 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,10 @@
+#ifndef __HANDLE_MANAGER_H__
+#define __HANDLE_MANAGER_H__
@ -5158,7 +5158,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/handle_manager.h newlib-1.20.0-ppc
+#endif
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/iosupport.c newlib-1.20.0-ppc/libgloss/libsysbase/iosupport.c
--- newlib-1.20.0/libgloss/libsysbase/iosupport.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/iosupport.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/iosupport.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,122 @@
+#include <stdlib.h>
+#include <string.h>
@ -5284,7 +5284,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/iosupport.c newlib-1.20.0-ppc/libg
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/isatty.c newlib-1.20.0-ppc/libgloss/libsysbase/isatty.c
--- newlib-1.20.0/libgloss/libsysbase/isatty.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/isatty.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/isatty.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,15 @@
+#include "config.h"
+#include <_ansi.h>
@ -5303,7 +5303,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/isatty.c newlib-1.20.0-ppc/libglos
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/kill.c newlib-1.20.0-ppc/libgloss/libsysbase/kill.c
--- newlib-1.20.0/libgloss/libsysbase/kill.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/kill.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/kill.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,23 @@
+/*
+ * Stub version of kill.
@ -5330,7 +5330,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/kill.c newlib-1.20.0-ppc/libgloss/
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/link.c newlib-1.20.0-ppc/libgloss/libsysbase/link.c
--- newlib-1.20.0/libgloss/libsysbase/link.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/link.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/link.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,37 @@
+#include "config.h"
+#include <_ansi.h>
@ -5371,7 +5371,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/link.c newlib-1.20.0-ppc/libgloss/
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/lseek.c newlib-1.20.0-ppc/libgloss/libsysbase/lseek.c
--- newlib-1.20.0/libgloss/libsysbase/lseek.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/lseek.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/lseek.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,55 @@
+#include "config.h"
+#include <_ansi.h>
@ -5430,7 +5430,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/lseek.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/Makefile.in newlib-1.20.0-ppc/libgloss/libsysbase/Makefile.in
--- newlib-1.20.0/libgloss/libsysbase/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/Makefile.in 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/Makefile.in 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,148 @@
+# Copyright (c) 1998 Cygnus Support
+#
@ -5582,13 +5582,13 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/Makefile.in newlib-1.20.0-ppc/libg
+ $(SHELL) config.status --recheck
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/malloc_vars.c newlib-1.20.0-ppc/libgloss/libsysbase/malloc_vars.c
--- newlib-1.20.0/libgloss/libsysbase/malloc_vars.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/malloc_vars.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/malloc_vars.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,2 @@
+char *fake_heap_end = (char*)0;
+char *fake_heap_start = (char*)0;
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/mkdir.c newlib-1.20.0-ppc/libgloss/libsysbase/mkdir.c
--- newlib-1.20.0/libgloss/libsysbase/mkdir.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/mkdir.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/mkdir.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,18 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5610,7 +5610,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/mkdir.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/open.c newlib-1.20.0-ppc/libgloss/libsysbase/open.c
--- newlib-1.20.0/libgloss/libsysbase/open.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/open.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/open.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,57 @@
+#include "config.h"
+#include <_ansi.h>
@ -5671,7 +5671,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/open.c newlib-1.20.0-ppc/libgloss/
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/read.c newlib-1.20.0-ppc/libgloss/libsysbase/read.c
--- newlib-1.20.0/libgloss/libsysbase/read.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/read.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/read.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,48 @@
+#include "config.h"
+#include <_ansi.h>
@ -5723,7 +5723,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/read.c newlib-1.20.0-ppc/libgloss/
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/rename.c newlib-1.20.0-ppc/libgloss/libsysbase/rename.c
--- newlib-1.20.0/libgloss/libsysbase/rename.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/rename.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/rename.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,39 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5766,7 +5766,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/rename.c newlib-1.20.0-ppc/libglos
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/sbrk.c newlib-1.20.0-ppc/libgloss/libsysbase/sbrk.c
--- newlib-1.20.0/libgloss/libsysbase/sbrk.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/sbrk.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/sbrk.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,26 @@
+#include "config.h"
+#include <sys/iosupport.h>
@ -5796,7 +5796,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/sbrk.c newlib-1.20.0-ppc/libgloss/
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/stat.c newlib-1.20.0-ppc/libgloss/libsysbase/stat.c
--- newlib-1.20.0/libgloss/libsysbase/stat.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/stat.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/stat.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,39 @@
+#include "config.h"
+#include <_ansi.h>
@ -5839,7 +5839,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/stat.c newlib-1.20.0-ppc/libgloss/
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/statvfs.c newlib-1.20.0-ppc/libgloss/libsysbase/statvfs.c
--- newlib-1.20.0/libgloss/libsysbase/statvfs.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/statvfs.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/statvfs.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,23 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5866,7 +5866,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/statvfs.c newlib-1.20.0-ppc/libglo
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/syscall_support.c newlib-1.20.0-ppc/libgloss/libsysbase/syscall_support.c
--- newlib-1.20.0/libgloss/libsysbase/syscall_support.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/syscall_support.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/syscall_support.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,66 @@
+#include <sys/iosupport.h>
+
@ -5936,7 +5936,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/syscall_support.c newlib-1.20.0-pp
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/truncate.c newlib-1.20.0-ppc/libgloss/libsysbase/truncate.c
--- newlib-1.20.0/libgloss/libsysbase/truncate.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/truncate.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/truncate.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,59 @@
+#include "config.h"
+#include <_ansi.h>
@ -5999,7 +5999,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/truncate.c newlib-1.20.0-ppc/libgl
+}
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/unlink.c newlib-1.20.0-ppc/libgloss/libsysbase/unlink.c
--- newlib-1.20.0/libgloss/libsysbase/unlink.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/unlink.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/unlink.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,33 @@
+#include "config.h"
+#include <_ansi.h>
@ -6036,7 +6036,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/unlink.c newlib-1.20.0-ppc/libglos
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/wait.c newlib-1.20.0-ppc/libgloss/libsysbase/wait.c
--- newlib-1.20.0/libgloss/libsysbase/wait.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/wait.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/wait.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,28 @@
+/*
+ * Stub version of wait.
@ -6068,7 +6068,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/wait.c newlib-1.20.0-ppc/libgloss/
+
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/warning.h newlib-1.20.0-ppc/libgloss/libsysbase/warning.h
--- newlib-1.20.0/libgloss/libsysbase/warning.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/warning.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/warning.h 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,43 @@
+#ifndef __WARNING_H__
+#define __WARNING_H__
@ -6115,7 +6115,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/warning.h newlib-1.20.0-ppc/libglo
+#endif /* __WARNING_H__ */
diff -Nbaur newlib-1.20.0/libgloss/libsysbase/write.c newlib-1.20.0-ppc/libgloss/libsysbase/write.c
--- newlib-1.20.0/libgloss/libsysbase/write.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/write.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/libsysbase/write.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,49 @@
+#include "config.h"
+#include <_ansi.h>
@ -6168,7 +6168,7 @@ diff -Nbaur newlib-1.20.0/libgloss/libsysbase/write.c newlib-1.20.0-ppc/libgloss
+}
diff -Nbaur newlib-1.20.0/libgloss/rs6000/crtmain.c newlib-1.20.0-ppc/libgloss/rs6000/crtmain.c
--- newlib-1.20.0/libgloss/rs6000/crtmain.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/rs6000/crtmain.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/rs6000/crtmain.c 2012-04-05 15:46:27.000000000 +0100
@@ -0,0 +1,18 @@
+#include <unistd.h>
+
@ -6190,7 +6190,7 @@ diff -Nbaur newlib-1.20.0/libgloss/rs6000/crtmain.c newlib-1.20.0-ppc/libgloss/r
+}
diff -Nbaur newlib-1.20.0/libgloss/rs6000/Makefile.in newlib-1.20.0-ppc/libgloss/rs6000/Makefile.in
--- newlib-1.20.0/libgloss/rs6000/Makefile.in 2010-05-03 16:15:53.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/rs6000/Makefile.in 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/libgloss/rs6000/Makefile.in 2012-04-05 15:46:27.000000000 +0100
@@ -129,6 +129,9 @@
XIL_TEST = xil-test
XIL_INSTALL = install-xil
@ -6240,7 +6240,7 @@ diff -Nbaur newlib-1.20.0/libgloss/rs6000/Makefile.in newlib-1.20.0-ppc/libgloss
install-info:
diff -Nbaur newlib-1.20.0/newlib/configure.host newlib-1.20.0-ppc/newlib/configure.host
--- newlib-1.20.0/newlib/configure.host 2011-11-29 06:33:48.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/configure.host 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/configure.host 2012-04-05 15:46:27.000000000 +0100
@@ -690,7 +690,12 @@
default_newlib_io_long_long="yes"
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
@ -6257,7 +6257,7 @@ diff -Nbaur newlib-1.20.0/newlib/configure.host newlib-1.20.0-ppc/newlib/configu
powerpc*-*-rtem* | \
diff -Nbaur newlib-1.20.0/newlib/libc/include/dirent.h newlib-1.20.0-ppc/newlib/libc/include/dirent.h
--- newlib-1.20.0/newlib/libc/include/dirent.h 2001-11-30 17:26:47.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/libc/include/dirent.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/dirent.h 2012-04-05 15:46:28.000000000 +0100
@@ -6,7 +6,7 @@
#include <sys/dirent.h>
@ -6632,7 +6632,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/pthread.h newlib-1.20.0-ppc/newlib
-/* end of include file */
diff -Nbaur newlib-1.20.0/newlib/libc/include/stdint.h newlib-1.20.0-ppc/newlib/libc/include/stdint.h
--- newlib-1.20.0/newlib/libc/include/stdint.h 2009-04-24 22:55:07.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/stdint.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/stdint.h 2012-04-05 15:46:28.000000000 +0100
@@ -75,14 +75,14 @@
#endif
#endif
@ -6655,7 +6655,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/stdint.h newlib-1.20.0-ppc/newlib/
typedef unsigned short uint32_t;
diff -Nbaur newlib-1.20.0/newlib/libc/include/stdio.h newlib-1.20.0-ppc/newlib/libc/include/stdio.h
--- newlib-1.20.0/newlib/libc/include/stdio.h 2010-02-26 09:41:43.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/libc/include/stdio.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/stdio.h 2012-04-05 15:46:28.000000000 +0100
@@ -209,7 +209,7 @@
#else
int _EXFUN(fgetpos, (FILE *, fpos_t *));
@ -6676,7 +6676,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/stdio.h newlib-1.20.0-ppc/newlib/l
_off_t _EXFUN(_ftello_r,(struct _reent *, FILE *));
diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/dirent.h newlib-1.20.0-ppc/newlib/libc/include/sys/dirent.h
--- newlib-1.20.0/newlib/libc/include/sys/dirent.h 2005-10-04 21:47:39.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/dirent.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/dirent.h 2012-04-05 15:46:28.000000000 +0100
@@ -4,10 +4,51 @@
not support <dirent.h>, we will get this file which uses #error to force
an error. */
@ -6733,7 +6733,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/dirent.h newlib-1.20.0-ppc/new
\ No newline at end of file
diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/iosupport.h newlib-1.20.0-ppc/newlib/libc/include/sys/iosupport.h
--- newlib-1.20.0/newlib/libc/include/sys/iosupport.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/iosupport.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/iosupport.h 2012-04-05 15:46:28.000000000 +0100
@@ -0,0 +1,94 @@
+//---------------------------------------------------------------------------------
+#ifndef __iosupp_h__
@ -6831,7 +6831,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/iosupport.h newlib-1.20.0-ppc/
+//---------------------------------------------------------------------------------
diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/reent.h newlib-1.20.0-ppc/newlib/libc/include/sys/reent.h
--- newlib-1.20.0/newlib/libc/include/sys/reent.h 2010-06-09 16:15:35.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/reent.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/reent.h 2012-04-05 15:46:28.000000000 +0100
@@ -203,7 +203,7 @@
/* Unix stdio files get aligned to block boundaries on fseek() */
@ -6843,7 +6843,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/reent.h newlib-1.20.0-ppc/newl
struct _reent *_data; /* Here for binary compatibility? Remove? */
diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/statvfs.h newlib-1.20.0-ppc/newlib/libc/include/sys/statvfs.h
--- newlib-1.20.0/newlib/libc/include/sys/statvfs.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/statvfs.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/statvfs.h 2012-04-05 15:46:28.000000000 +0100
@@ -0,0 +1,35 @@
+#ifndef _SYS_STATVFS_H
+#define _SYS_STATVFS_H
@ -6883,7 +6883,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/statvfs.h newlib-1.20.0-ppc/ne
\ No newline at end of file
diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/syslimits.h newlib-1.20.0-ppc/newlib/libc/include/sys/syslimits.h
--- newlib-1.20.0/newlib/libc/include/sys/syslimits.h 2002-08-23 02:56:03.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/syslimits.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/syslimits.h 2012-04-05 15:46:28.000000000 +0100
@@ -44,12 +44,12 @@
#define LINK_MAX 32767 /* max file link count */
#define MAX_CANON 255 /* max bytes in term canon input line */
@ -6901,7 +6901,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/syslimits.h newlib-1.20.0-ppc/
diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/types.h newlib-1.20.0-ppc/newlib/libc/include/sys/types.h
--- newlib-1.20.0/newlib/libc/include/sys/types.h 2011-08-01 18:22:18.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/types.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/types.h 2012-04-05 15:46:28.000000000 +0100
@@ -131,7 +131,7 @@
defined(__sparc__) || defined(__SPU__)
typedef unsigned long ino_t;
@ -6923,7 +6923,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/types.h newlib-1.20.0-ppc/newl
diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/unistd.h newlib-1.20.0-ppc/newlib/libc/include/sys/unistd.h
--- newlib-1.20.0/newlib/libc/include/sys/unistd.h 2011-08-19 15:29:34.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/unistd.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/include/sys/unistd.h 2012-04-05 15:46:28.000000000 +0100
@@ -219,12 +219,10 @@
int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] ));
#endif
@ -6939,7 +6939,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/include/sys/unistd.h newlib-1.20.0-ppc/new
int _EXFUN(getdtablesize, (void));
diff -Nbaur newlib-1.20.0/newlib/libc/locale/locale.c newlib-1.20.0-ppc/newlib/libc/locale/locale.c
--- newlib-1.20.0/newlib/libc/locale/locale.c 2011-05-04 09:54:34.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/locale/locale.c 2012-04-05 15:34:08.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/locale/locale.c 2012-04-05 16:04:27.000000000 +0100
@@ -188,7 +188,6 @@
#define _LC_LAST 7
#define ENCODING_LEN 31
@ -6968,7 +6968,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/locale/locale.c newlib-1.20.0-ppc/newlib/l
"C.UTF-8",
#else
"C",
@@ -260,12 +263,13 @@
@@ -260,10 +263,12 @@
#endif /* _MB_CAPABLE */
@ -6981,13 +6981,11 @@ diff -Nbaur newlib-1.20.0/newlib/libc/locale/locale.c newlib-1.20.0-ppc/newlib/l
static char lc_ctype_charset[ENCODING_LEN + 1] = "ASCII";
+int __EXPORT __mb_cur_max = 1;
#endif
-static char lc_message_charset[ENCODING_LEN + 1] = "ASCII";
static char lc_message_charset[ENCODING_LEN + 1] = "ASCII";
static int lc_ctype_cjk_lang = 0;
char *
diff -Nbaur newlib-1.20.0/newlib/libc/machine/powerpc/machine/_types.h newlib-1.20.0-ppc/newlib/libc/machine/powerpc/machine/_types.h
--- newlib-1.20.0/newlib/libc/machine/powerpc/machine/_types.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/machine/powerpc/machine/_types.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/machine/powerpc/machine/_types.h 2012-04-05 15:46:28.000000000 +0100
@@ -0,0 +1,15 @@
+/*
+ * $Id: newlib-1.16.0.patch,v 1.8 2008-11-29 12:08:00 wntrmute Exp $
@ -7006,7 +7004,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/machine/powerpc/machine/_types.h newlib-1.
+#endif // _MACHINE__TYPES_H
diff -Nbaur newlib-1.20.0/newlib/libc/machine/powerpc/sys/lock.h newlib-1.20.0-ppc/newlib/libc/machine/powerpc/sys/lock.h
--- newlib-1.20.0/newlib/libc/machine/powerpc/sys/lock.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/machine/powerpc/sys/lock.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/machine/powerpc/sys/lock.h 2012-04-05 15:46:28.000000000 +0100
@@ -0,0 +1,53 @@
+#ifndef __SYS_LOCK_H__
+#define __SYS_LOCK_H__
@ -7063,7 +7061,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/machine/powerpc/sys/lock.h newlib-1.20.0-p
+#endif /* __SYS_LOCK_H__ */
diff -Nbaur newlib-1.20.0/newlib/libc/machine/powerpc/sys/stdio.h newlib-1.20.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h
--- newlib-1.20.0/newlib/libc/machine/powerpc/sys/stdio.h 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h 2012-04-05 15:46:28.000000000 +0100
@@ -0,0 +1,25 @@
+#ifndef _NEWLIB_STDIO_H
+#define _NEWLIB_STDIO_H
@ -7092,7 +7090,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/machine/powerpc/sys/stdio.h newlib-1.20.0-
+
diff -Nbaur newlib-1.20.0/newlib/libc/misc/init.c newlib-1.20.0-ppc/newlib/libc/misc/init.c
--- newlib-1.20.0/newlib/libc/misc/init.c 2010-06-04 16:30:40.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/misc/init.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/misc/init.c 2012-04-05 15:46:28.000000000 +0100
@@ -40,4 +40,8 @@
for (i = 0; i < count; i++)
__init_array_start[i] ();
@ -7104,7 +7102,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/misc/init.c newlib-1.20.0-ppc/newlib/libc/
#endif
diff -Nbaur newlib-1.20.0/newlib/libc/stdio/findfp.c newlib-1.20.0-ppc/newlib/libc/stdio/findfp.c
--- newlib-1.20.0/newlib/libc/stdio/findfp.c 2008-12-10 23:43:12.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/libc/stdio/findfp.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/findfp.c 2012-04-05 15:46:28.000000000 +0100
@@ -222,7 +222,8 @@
/* POSIX requires stderr to be opened for reading and writing, even
@ -7117,7 +7115,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdio/findfp.c newlib-1.20.0-ppc/newlib/li
}
diff -Nbaur newlib-1.20.0/newlib/libc/stdio/fopen.c newlib-1.20.0-ppc/newlib/libc/stdio/fopen.c
--- newlib-1.20.0/newlib/libc/stdio/fopen.c 2004-06-11 21:37:10.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/fopen.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/fopen.c 2012-04-05 15:46:28.000000000 +0100
@@ -151,6 +151,9 @@
_flockfile (fp);
@ -7130,7 +7128,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdio/fopen.c newlib-1.20.0-ppc/newlib/lib
fp->_cookie = (_PTR) fp;
diff -Nbaur newlib-1.20.0/newlib/libc/stdio/fseek.c newlib-1.20.0-ppc/newlib/libc/stdio/fseek.c
--- newlib-1.20.0/newlib/libc/stdio/fseek.c 2011-01-28 10:49:11.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/libc/stdio/fseek.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/fseek.c 2012-04-05 15:46:28.000000000 +0100
@@ -120,7 +120,7 @@
_DEFUN(_fseek_r, (ptr, fp, offset, whence),
struct _reent *ptr _AND
@ -7151,7 +7149,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdio/fseek.c newlib-1.20.0-ppc/newlib/lib
return _fseek_r (_REENT, fp, offset, whence);
diff -Nbaur newlib-1.20.0/newlib/libc/stdio/fseeko.c newlib-1.20.0-ppc/newlib/libc/stdio/fseeko.c
--- newlib-1.20.0/newlib/libc/stdio/fseeko.c 2004-04-23 21:01:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/fseeko.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/fseeko.c 2012-04-05 15:46:28.000000000 +0100
@@ -26,7 +26,7 @@
_off_t offset _AND
int whence)
@ -7172,7 +7170,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdio/fseeko.c newlib-1.20.0-ppc/newlib/li
#endif /* !_REENT_ONLY */
diff -Nbaur newlib-1.20.0/newlib/libc/stdio/fvwrite.c newlib-1.20.0-ppc/newlib/libc/stdio/fvwrite.c
--- newlib-1.20.0/newlib/libc/stdio/fvwrite.c 2011-06-14 04:56:05.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/fvwrite.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/fvwrite.c 2012-04-05 15:46:28.000000000 +0100
@@ -94,7 +94,8 @@
do
{
@ -7185,7 +7183,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdio/fvwrite.c newlib-1.20.0-ppc/newlib/l
p += w;
diff -Nbaur newlib-1.20.0/newlib/libc/stdio/Makefile.am newlib-1.20.0-ppc/newlib/libc/stdio/Makefile.am
--- newlib-1.20.0/newlib/libc/stdio/Makefile.am 2009-07-03 12:58:04.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/Makefile.am 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/Makefile.am 2012-04-05 15:46:28.000000000 +0100
@@ -54,6 +54,7 @@
rename.c \
rewind.c \
@ -7196,7 +7194,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdio/Makefile.am newlib-1.20.0-ppc/newlib
setbuf.c \
diff -Nbaur newlib-1.20.0/newlib/libc/stdio/Makefile.in newlib-1.20.0-ppc/newlib/libc/stdio/Makefile.in
--- newlib-1.20.0/newlib/libc/stdio/Makefile.in 2011-12-19 22:03:36.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/libc/stdio/Makefile.in 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/Makefile.in 2012-04-05 15:46:28.000000000 +0100
@@ -79,6 +79,7 @@
lib_a-refill.$(OBJEXT) lib_a-remove.$(OBJEXT) \
lib_a-rename.$(OBJEXT) lib_a-rewind.$(OBJEXT) \
@ -7237,7 +7235,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdio/Makefile.in newlib-1.20.0-ppc/newlib
diff -Nbaur newlib-1.20.0/newlib/libc/stdio/rmdir.c newlib-1.20.0-ppc/newlib/libc/stdio/rmdir.c
--- newlib-1.20.0/newlib/libc/stdio/rmdir.c 1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/rmdir.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdio/rmdir.c 2012-04-05 15:46:28.000000000 +0100
@@ -0,0 +1,90 @@
+/*
+ * Copyright (c) 1990 The Regents of the University of California.
@ -7331,7 +7329,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdio/rmdir.c newlib-1.20.0-ppc/newlib/lib
+#endif
diff -Nbaur newlib-1.20.0/newlib/libc/stdlib/mbtowc_r.c newlib-1.20.0-ppc/newlib/libc/stdlib/mbtowc_r.c
--- newlib-1.20.0/newlib/libc/stdlib/mbtowc_r.c 2010-01-17 09:39:06.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/libc/stdlib/mbtowc_r.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdlib/mbtowc_r.c 2012-04-05 15:46:28.000000000 +0100
@@ -9,7 +9,7 @@
int (*__mbtowc) (struct _reent *, wchar_t *, const char *, size_t,
@ -7343,7 +7341,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdlib/mbtowc_r.c newlib-1.20.0-ppc/newlib
#else
diff -Nbaur newlib-1.20.0/newlib/libc/stdlib/mlock.c newlib-1.20.0-ppc/newlib/libc/stdlib/mlock.c
--- newlib-1.20.0/newlib/libc/stdlib/mlock.c 2005-10-28 22:21:07.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdlib/mlock.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdlib/mlock.c 2012-04-05 15:46:28.000000000 +0100
@@ -39,6 +39,7 @@
#include <malloc.h>
#include <sys/lock.h>
@ -7361,7 +7359,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdlib/mlock.c newlib-1.20.0-ppc/newlib/li
#endif
diff -Nbaur newlib-1.20.0/newlib/libc/stdlib/wctomb_r.c newlib-1.20.0-ppc/newlib/libc/stdlib/wctomb_r.c
--- newlib-1.20.0/newlib/libc/stdlib/wctomb_r.c 2010-01-17 09:39:06.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/libc/stdlib/wctomb_r.c 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/stdlib/wctomb_r.c 2012-04-05 15:46:28.000000000 +0100
@@ -8,7 +8,7 @@
int (*__wctomb) (struct _reent *, char *, wchar_t, const char *charset,
@ -7373,7 +7371,7 @@ diff -Nbaur newlib-1.20.0/newlib/libc/stdlib/wctomb_r.c newlib-1.20.0-ppc/newlib
#else
diff -Nbaur newlib-1.20.0/newlib/libc/syscalls/Makefile.am newlib-1.20.0-ppc/newlib/libc/syscalls/Makefile.am
--- newlib-1.20.0/newlib/libc/syscalls/Makefile.am 2008-01-03 22:33:37.000000000 +0000
+++ newlib-1.20.0-ppc/newlib/libc/syscalls/Makefile.am 2012-04-05 15:23:55.000000000 +0100
+++ newlib-1.20.0-ppc/newlib/libc/syscalls/Makefile.am 2012-04-05 15:46:28.000000000 +0100
@@ -22,7 +22,6 @@
sysunlink.c \
syswrite.c