diff --git a/dkppc/patches/binutils-2.21.patch b/dkppc/patches/binutils-2.21.patch deleted file mode 100644 index a12c963..0000000 --- a/dkppc/patches/binutils-2.21.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Nbaur binutils-2.21/opcodes/ppc-opc.c binutils-2.21-ppc/opcodes/ppc-opc.c ---- binutils-2.21/opcodes/ppc-opc.c 2010-08-27 14:59:55.000000000 +0100 -+++ binutils-2.21-ppc/opcodes/ppc-opc.c 2011-01-17 12:25:34.000000000 +0000 -@@ -1909,7 +1909,7 @@ - #define POWER7 PPC_OPCODE_POWER7 - #define CELL PPC_OPCODE_CELL - #define PPC64 PPC_OPCODE_64 | PPC_OPCODE_64_BRIDGE --#define NON32 (PPC_OPCODE_64 | PPC_OPCODE_POWER4 | PPC_OPCODE_PPCPS \ -+#define NON32 (PPC_OPCODE_64 | PPC_OPCODE_POWER4 \ - | PPC_OPCODE_EFS | PPC_OPCODE_E500MC | PPC_OPCODE_TITAN) - #define PPC403 PPC_OPCODE_403 - #define PPC405 PPC_OPCODE_405 -@@ -1932,7 +1932,7 @@ - #define MFDEC1 PPC_OPCODE_POWER - #define MFDEC2 PPC_OPCODE_PPC | PPC_OPCODE_601 | PPC_OPCODE_BOOKE | PPC_OPCODE_TITAN - #define BOOKE PPC_OPCODE_BOOKE --#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_PPCPS | PPC_OPCODE_EFS -+#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_EFS - #define PPCE300 PPC_OPCODE_E300 - #define PPCSPE PPC_OPCODE_SPE - #define PPCISEL PPC_OPCODE_ISEL diff --git a/dkppc/patches/gcc-4.6.1.patch b/dkppc/patches/gcc-4.6.2.patch similarity index 89% rename from dkppc/patches/gcc-4.6.1.patch rename to dkppc/patches/gcc-4.6.2.patch index 0841f32..a507d65 100644 --- a/dkppc/patches/gcc-4.6.1.patch +++ b/dkppc/patches/gcc-4.6.2.patch @@ -1,6 +1,6 @@ -diff -Nbaur gcc-4.6.0/gcc/config/rs6000/rs6000.h gcc-4.6.0-ppc/gcc/config/rs6000/rs6000.h ---- gcc-4.6.0/gcc/config/rs6000/rs6000.h 2011-03-07 19:27:09.000000000 +0000 -+++ gcc-4.6.0-ppc/gcc/config/rs6000/rs6000.h 2011-04-14 04:02:56.000000000 +0100 +diff -Nbaur gcc-4.6.2/gcc/config/rs6000/rs6000.h gcc-4.6.2-ppc/gcc/config/rs6000/rs6000.h +--- gcc-4.6.2/gcc/config/rs6000/rs6000.h 2011-07-27 19:17:15.000000000 +0100 ++++ gcc-4.6.2-ppc/gcc/config/rs6000/rs6000.h 2012-02-25 12:01:45.000000000 +0000 @@ -200,6 +200,7 @@ { "asm_cpu_476", ASM_CPU_476_SPEC }, \ SUBTARGET_EXTRA_SPECS @@ -18,9 +18,9 @@ diff -Nbaur gcc-4.6.0/gcc/config/rs6000/rs6000.h gcc-4.6.0-ppc/gcc/config/rs6000 #ifndef CC1_CPU_SPEC #ifdef HAVE_LOCAL_CPU_DETECT -diff -Nbaur gcc-4.6.0/gcc/config/rs6000/sysv4.h gcc-4.6.0-ppc/gcc/config/rs6000/sysv4.h ---- gcc-4.6.0/gcc/config/rs6000/sysv4.h 2011-03-07 07:50:23.000000000 +0000 -+++ gcc-4.6.0-ppc/gcc/config/rs6000/sysv4.h 2011-04-14 04:12:48.000000000 +0100 +diff -Nbaur gcc-4.6.2/gcc/config/rs6000/sysv4.h gcc-4.6.2-ppc/gcc/config/rs6000/sysv4.h +--- gcc-4.6.2/gcc/config/rs6000/sysv4.h 2011-03-07 07:50:23.000000000 +0000 ++++ gcc-4.6.2-ppc/gcc/config/rs6000/sysv4.h 2012-02-25 12:01:45.000000000 +0000 @@ -603,7 +603,11 @@ /* Default starting address if specified. */ @@ -180,9 +180,9 @@ diff -Nbaur gcc-4.6.0/gcc/config/rs6000/sysv4.h gcc-4.6.0-ppc/gcc/config/rs6000/ { "cpp_os_ads", CPP_OS_ADS_SPEC }, \ { "cpp_os_yellowknife", CPP_OS_YELLOWKNIFE_SPEC }, \ { "cpp_os_mvme", CPP_OS_MVME_SPEC }, \ -diff -Nbaur gcc-4.6.0/gcc/config/rs6000/sysv4.opt gcc-4.6.0-ppc/gcc/config/rs6000/sysv4.opt ---- gcc-4.6.0/gcc/config/rs6000/sysv4.opt 2011-01-03 20:52:22.000000000 +0000 -+++ gcc-4.6.0-ppc/gcc/config/rs6000/sysv4.opt 2011-04-14 04:02:56.000000000 +0100 +diff -Nbaur gcc-4.6.2/gcc/config/rs6000/sysv4.opt gcc-4.6.2-ppc/gcc/config/rs6000/sysv4.opt +--- gcc-4.6.2/gcc/config/rs6000/sysv4.opt 2011-01-03 20:52:22.000000000 +0000 ++++ gcc-4.6.2-ppc/gcc/config/rs6000/sysv4.opt 2012-02-25 12:01:45.000000000 +0000 @@ -108,6 +108,26 @@ Target RejectNegative Link with libads.a, libc.a and crt0.o @@ -210,10 +210,10 @@ diff -Nbaur gcc-4.6.0/gcc/config/rs6000/sysv4.opt gcc-4.6.0-ppc/gcc/config/rs600 myellowknife Target RejectNegative Link with libyk.a, libc.a and crt0.o -diff -Nbaur gcc-4.6.0/gcc/config.gcc gcc-4.6.0-ppc/gcc/config.gcc ---- gcc-4.6.0/gcc/config.gcc 2011-03-14 06:05:29.000000000 +0000 -+++ gcc-4.6.0-ppc/gcc/config.gcc 2011-04-14 04:08:25.000000000 +0100 -@@ -2119,7 +2119,7 @@ +diff -Nbaur gcc-4.6.2/gcc/config.gcc gcc-4.6.2-ppc/gcc/config.gcc +--- gcc-4.6.2/gcc/config.gcc 2011-07-22 17:44:50.000000000 +0100 ++++ gcc-4.6.2-ppc/gcc/config.gcc 2012-02-25 12:01:45.000000000 +0000 +@@ -2133,7 +2133,7 @@ use_gcc_stdint=wrap ;; powerpc-*-eabi*) @@ -222,9 +222,9 @@ diff -Nbaur gcc-4.6.0/gcc/config.gcc gcc-4.6.0-ppc/gcc/config.gcc extra_options="${extra_options} rs6000/sysv4.opt" tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm" use_gcc_stdint=wrap -diff -Nbaur gcc-4.6.0/libcpp/Makefile.in gcc-4.6.0-ppc/libcpp/Makefile.in ---- gcc-4.6.0/libcpp/Makefile.in 2011-03-25 17:07:00.000000000 +0000 -+++ gcc-4.6.0-ppc/libcpp/Makefile.in 2011-04-14 04:02:56.000000000 +0100 +diff -Nbaur gcc-4.6.2/libcpp/Makefile.in gcc-4.6.2-ppc/libcpp/Makefile.in +--- gcc-4.6.2/libcpp/Makefile.in 2011-10-26 10:30:24.000000000 +0100 ++++ gcc-4.6.2-ppc/libcpp/Makefile.in 2012-02-25 12:01:45.000000000 +0000 @@ -212,8 +212,7 @@ # Note that we put the dependencies into a .Tpo file, then move them # into place if the compile succeeds. We need this because gcc does diff --git a/dkppc/patches/gdb-7.2.patch b/dkppc/patches/gdb-7.4.patch similarity index 73% rename from dkppc/patches/gdb-7.2.patch rename to dkppc/patches/gdb-7.4.patch index 57297f2..b580c36 100644 --- a/dkppc/patches/gdb-7.2.patch +++ b/dkppc/patches/gdb-7.4.patch @@ -1,7 +1,7 @@ -diff -Nbaur gdb-7.2/gdb/Makefile.in gdb-7.2-ppc/gdb/Makefile.in ---- gdb-7.2/gdb/Makefile.in 2010-08-19 19:40:34.000000000 +0100 -+++ gdb-7.2-ppc/gdb/Makefile.in 2010-09-10 05:02:01.000000000 +0100 -@@ -2082,10 +2082,10 @@ +diff -Nbaur gdb-7.4/gdb/Makefile.in gdb-7.4-ppc/gdb/Makefile.in +--- gdb-7.4/gdb/Makefile.in 2012-01-06 04:43:01.000000000 +0000 ++++ gdb-7.4-ppc/gdb/Makefile.in 2012-01-28 15:56:00.000000000 +0000 +@@ -2195,10 +2195,10 @@ # Note that we put the dependencies into a .Tpo file, then move them # into place if the compile succeeds. We need this because gcc does # not atomically write the dependency output file. @@ -16,9 +16,9 @@ diff -Nbaur gdb-7.2/gdb/Makefile.in gdb-7.2-ppc/gdb/Makefile.in @GMAKE_TRUE@else @GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \ @GMAKE_TRUE@ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC) -diff -Nbaur gdb-7.2/sim/ppc/Makefile.in gdb-7.2-ppc/sim/ppc/Makefile.in ---- gdb-7.2/sim/ppc/Makefile.in 2009-09-16 00:26:44.000000000 +0100 -+++ gdb-7.2-ppc/sim/ppc/Makefile.in 2010-09-10 05:02:01.000000000 +0100 +diff -Nbaur gdb-7.4/sim/ppc/Makefile.in gdb-7.4-ppc/sim/ppc/Makefile.in +--- gdb-7.4/sim/ppc/Makefile.in 2009-09-16 00:26:44.000000000 +0100 ++++ gdb-7.4-ppc/sim/ppc/Makefile.in 2012-02-25 13:30:02.000000000 +0000 @@ -551,7 +551,7 @@ PACKAGE_OBJ = @sim_pk_obj@ diff --git a/dkppc/patches/newlib-1.19.0.patch b/dkppc/patches/newlib-1.20.0.patch similarity index 91% rename from dkppc/patches/newlib-1.19.0.patch rename to dkppc/patches/newlib-1.20.0.patch index 2a9294c..e198b4b 100644 --- a/dkppc/patches/newlib-1.19.0.patch +++ b/dkppc/patches/newlib-1.20.0.patch @@ -1,7 +1,7 @@ -diff -Nbaur newlib-1.19.0/libgloss/configure newlib-1.19.0-ppc/libgloss/configure ---- newlib-1.19.0/libgloss/configure 2010-12-02 19:35:47.000000000 +0000 -+++ newlib-1.19.0-ppc/libgloss/configure 2011-01-13 13:58:53.000000000 +0000 -@@ -1822,6 +1822,7 @@ +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-02-25 11:35:26.000000000 +0000 +@@ -1800,6 +1800,7 @@ @@ -9,7 +9,7 @@ diff -Nbaur newlib-1.19.0/libgloss/configure newlib-1.19.0-ppc/libgloss/configur if test "${enable_shared}" = "yes" ; then echo "Shared libraries not supported for cross compiling, ignored" fi -@@ -2584,6 +2585,8 @@ +@@ -2545,6 +2546,8 @@ fi @@ -18,19 +18,9 @@ diff -Nbaur newlib-1.19.0/libgloss/configure newlib-1.19.0-ppc/libgloss/configur DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" -@@ -3926,7 +3929,8 @@ - # The final `:' finishes the AND list. - ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }' - fi --ac_cr=' ' -+ac_cr=' -+' - ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` - if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -diff -Nbaur newlib-1.19.0/libgloss/configure.in newlib-1.19.0-ppc/libgloss/configure.in ---- newlib-1.19.0/libgloss/configure.in 2010-12-02 19:35:47.000000000 +0000 -+++ newlib-1.19.0-ppc/libgloss/configure.in 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -2,6 +2,7 @@ AC_PREREQ(2.59) AC_INIT([libgloss],[LIBGLOSS_VERSION]) @@ -49,7 +39,7 @@ diff -Nbaur newlib-1.19.0/libgloss/configure.in newlib-1.19.0-ppc/libgloss/confi case "${target}" in i[[3456]]86-*-elf* | i[[3456]]86-*-coff*) AC_CONFIG_SUBDIRS([i386]) -@@ -151,6 +155,10 @@ +@@ -157,6 +161,10 @@ AC_CONFIG_SUBDIRS([libnosys]) fi @@ -60,9 +50,9 @@ diff -Nbaur newlib-1.19.0/libgloss/configure.in newlib-1.19.0-ppc/libgloss/confi LIB_AC_PROG_CC AS=${AS-as} AC_SUBST(AS) -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/Makefile.in newlib-1.19.0-ppc/libgloss/libsysbase/Makefile.in ---- newlib-1.19.0/libgloss/libsysbase/Makefile.in 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/Makefile.in 2011-01-19 18:25:38.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,148 @@ +# Copyright (c) 1998 Cygnus Support +# @@ -212,9 +202,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/Makefile.in newlib-1.19.0-ppc/libg + +config.status: configure + $(SHELL) config.status --recheck -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/_exit.c newlib-1.19.0-ppc/libgloss/libsysbase/_exit.c ---- newlib-1.19.0/libgloss/libsysbase/_exit.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/_exit.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,19 @@ +/* Stub version of _exit. */ + @@ -235,9 +225,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/_exit.c newlib-1.19.0-ppc/libgloss + + while(1); +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/abort.c newlib-1.19.0-ppc/libgloss/libsysbase/abort.c ---- newlib-1.19.0/libgloss/libsysbase/abort.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/abort.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,8 @@ +#include +#include @@ -247,9 +237,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/abort.c newlib-1.19.0-ppc/libgloss + _exit (1); +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/acconfig.h newlib-1.19.0-ppc/libgloss/libsysbase/acconfig.h ---- newlib-1.19.0/libgloss/libsysbase/acconfig.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/acconfig.h 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,29 @@ +/* Name of package. */ +#undef PACKAGE @@ -280,9 +270,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/acconfig.h newlib-1.19.0-ppc/libgl + +/* symbol prefix */ +#undef __SYMBOL_PREFIX -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/aclocal.m4 newlib-1.19.0-ppc/libgloss/libsysbase/aclocal.m4 ---- newlib-1.19.0/libgloss/libsysbase/aclocal.m4 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/aclocal.m4 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,344 @@ +# generated automatically by aclocal 1.9.5 -*- Autoconf -*- + @@ -628,9 +618,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/aclocal.m4 newlib-1.19.0-ppc/libgl +]) + +m4_include([../acinclude.m4]) -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/build_argv.c newlib-1.19.0-ppc/libgloss/libsysbase/build_argv.c ---- newlib-1.19.0/libgloss/libsysbase/build_argv.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/build_argv.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,31 @@ +struct __argv { + int argvMagic; @@ -663,9 +653,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/build_argv.c newlib-1.19.0-ppc/lib + argstruct->argc = argCount; + argstruct->endARGV = &argv[argCount]; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/chdir.c newlib-1.19.0-ppc/libgloss/libsysbase/chdir.c ---- newlib-1.19.0/libgloss/libsysbase/chdir.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/chdir.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,176 @@ +#include +#include @@ -843,9 +833,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/chdir.c newlib-1.19.0-ppc/libgloss + + return buf; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/chmod.c newlib-1.19.0-ppc/libgloss/libsysbase/chmod.c ---- newlib-1.19.0/libgloss/libsysbase/chmod.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/chmod.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,25 @@ +#include "config.h" +#include <_ansi.h> @@ -872,9 +862,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/chmod.c newlib-1.19.0-ppc/libgloss + return ret; +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/close.c newlib-1.19.0-ppc/libgloss/libsysbase/close.c ---- newlib-1.19.0/libgloss/libsysbase/close.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/close.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,42 @@ +#include "config.h" +#include <_ansi.h> @@ -918,9 +908,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/close.c newlib-1.19.0-ppc/libgloss + } + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/config.h.in newlib-1.19.0-ppc/libgloss/libsysbase/config.h.in ---- newlib-1.19.0/libgloss/libsysbase/config.h.in 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/config.h.in 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,25 @@ +/* config.h.in. Generated automatically from configure.in by autoheader. */ + @@ -947,9 +937,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/config.h.in newlib-1.19.0-ppc/libg + +/* symbol prefix */ +#undef __SYMBOL_PREFIX -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/configure newlib-1.19.0-ppc/libgloss/libsysbase/configure ---- newlib-1.19.0/libgloss/libsysbase/configure 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/configure 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,3549 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. @@ -4500,9 +4490,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/configure newlib-1.19.0-ppc/libglo + + + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/configure.in newlib-1.19.0-ppc/libgloss/libsysbase/configure.in ---- newlib-1.19.0/libgloss/libsysbase/configure.in 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/configure.in 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,207 @@ +# Copyright (c) 1995, 1996 Cygnus Support +# @@ -4711,9 +4701,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/configure.in newlib-1.19.0-ppc/lib +AC_OUTPUT + + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/dirent.c newlib-1.19.0-ppc/libgloss/libsysbase/dirent.c ---- newlib-1.19.0/libgloss/libsysbase/dirent.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/dirent.c 2011-01-21 21:50:08.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,200 @@ +#include +#include @@ -4915,9 +4905,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/dirent.c newlib-1.19.0-ppc/libglos + + return dirp->position; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/environ.c newlib-1.19.0-ppc/libgloss/libsysbase/environ.c ---- newlib-1.19.0/libgloss/libsysbase/environ.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/environ.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,6 @@ +/* + * Version of environ for no OS. @@ -4925,9 +4915,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/environ.c newlib-1.19.0-ppc/libglo + +char *__env[1] = { 0 }; +char **environ = __env; -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/execve.c newlib-1.19.0-ppc/libgloss/libsysbase/execve.c ---- newlib-1.19.0/libgloss/libsysbase/execve.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/execve.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,31 @@ +/* + * Stub version of execve. @@ -4960,9 +4950,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/execve.c newlib-1.19.0-ppc/libglos + return -1; +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/fchmod.c newlib-1.19.0-ppc/libgloss/libsysbase/fchmod.c ---- newlib-1.19.0/libgloss/libsysbase/fchmod.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/fchmod.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,30 @@ +#include "config.h" +#include <_ansi.h> @@ -4994,9 +4984,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/fchmod.c newlib-1.19.0-ppc/libglos + } + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/flock.c newlib-1.19.0-ppc/libgloss/libsysbase/flock.c ---- newlib-1.19.0/libgloss/libsysbase/flock.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/flock.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,21 @@ +#include +#include <_ansi.h> @@ -5019,9 +5009,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/flock.c newlib-1.19.0-ppc/libgloss +{ + __lock_release_recursive(*(_LOCK_RECURSIVE_T*)&fp->_lock); +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/fork.c newlib-1.19.0-ppc/libgloss/libsysbase/fork.c ---- newlib-1.19.0/libgloss/libsysbase/fork.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/fork.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,25 @@ +/* + * Stub version of fork. @@ -5048,9 +5038,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/fork.c newlib-1.19.0-ppc/libgloss/ + r->_errno = ENOSYS; + return -1; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/fstat.c newlib-1.19.0-ppc/libgloss/libsysbase/fstat.c ---- newlib-1.19.0/libgloss/libsysbase/fstat.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/fstat.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,50 @@ +#include "config.h" +#include <_ansi.h> @@ -5102,9 +5092,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/fstat.c newlib-1.19.0-ppc/libgloss + } + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/fsync.c newlib-1.19.0-ppc/libgloss/libsysbase/fsync.c ---- newlib-1.19.0/libgloss/libsysbase/fsync.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/fsync.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,36 @@ +#include "config.h" +#include <_ansi.h> @@ -5142,9 +5132,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/fsync.c newlib-1.19.0-ppc/libgloss + + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/ftruncate.c newlib-1.19.0-ppc/libgloss/libsysbase/ftruncate.c ---- newlib-1.19.0/libgloss/libsysbase/ftruncate.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/ftruncate.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,37 @@ +#include "config.h" +#include <_ansi.h> @@ -5183,9 +5173,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/ftruncate.c newlib-1.19.0-ppc/libg + + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/getpid.c newlib-1.19.0-ppc/libgloss/libsysbase/getpid.c ---- newlib-1.19.0/libgloss/libsysbase/getpid.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/getpid.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,21 @@ +#include "config.h" +#include <_ansi.h> @@ -5208,9 +5198,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/getpid.c newlib-1.19.0-ppc/libglos + return -1; +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/gettod.c newlib-1.19.0-ppc/libgloss/libsysbase/gettod.c ---- newlib-1.19.0/libgloss/libsysbase/gettod.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/gettod.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,39 @@ +/* + * Stub version of gettimeofday. @@ -5251,9 +5241,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/gettod.c newlib-1.19.0-ppc/libglos + +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/handle_manager.c newlib-1.19.0-ppc/libgloss/libsysbase/handle_manager.c ---- newlib-1.19.0/libgloss/libsysbase/handle_manager.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/handle_manager.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,49 @@ +#include +#include @@ -5304,9 +5294,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/handle_manager.c newlib-1.19.0-ppc + return handles[fd-3]; + +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/handle_manager.h newlib-1.19.0-ppc/libgloss/libsysbase/handle_manager.h ---- newlib-1.19.0/libgloss/libsysbase/handle_manager.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/handle_manager.h 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,10 @@ +#ifndef __HANDLE_MANAGER_H__ +#define __HANDLE_MANAGER_H__ @@ -5318,9 +5308,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/handle_manager.h newlib-1.19.0-ppc +__handle *__get_handle(int fd); + +#endif -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/iosupport.c newlib-1.19.0-ppc/libgloss/libsysbase/iosupport.c ---- newlib-1.19.0/libgloss/libsysbase/iosupport.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/iosupport.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,122 @@ +#include +#include @@ -5444,9 +5434,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/iosupport.c newlib-1.19.0-ppc/libg + } +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/isatty.c newlib-1.19.0-ppc/libgloss/libsysbase/isatty.c ---- newlib-1.19.0/libgloss/libsysbase/isatty.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/isatty.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,15 @@ +#include "config.h" +#include <_ansi.h> @@ -5463,9 +5453,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/isatty.c newlib-1.19.0-ppc/libglos +#endif + return 0; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/kill.c newlib-1.19.0-ppc/libgloss/libsysbase/kill.c ---- newlib-1.19.0/libgloss/libsysbase/kill.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/kill.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,23 @@ +/* + * Stub version of kill. @@ -5490,9 +5480,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/kill.c newlib-1.19.0-ppc/libgloss/ + ptr->_errno = ENOSYS; + return -1; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/link.c newlib-1.19.0-ppc/libgloss/libsysbase/link.c ---- newlib-1.19.0/libgloss/libsysbase/link.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/link.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,37 @@ +#include "config.h" +#include <_ansi.h> @@ -5531,9 +5521,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/link.c newlib-1.19.0-ppc/libgloss/ + return ret; +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/lseek.c newlib-1.19.0-ppc/libgloss/libsysbase/lseek.c ---- newlib-1.19.0/libgloss/libsysbase/lseek.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/lseek.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,55 @@ +#include "config.h" +#include <_ansi.h> @@ -5590,15 +5580,15 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/lseek.c newlib-1.19.0-ppc/libgloss + return ret; + +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/malloc_vars.c newlib-1.19.0-ppc/libgloss/libsysbase/malloc_vars.c ---- newlib-1.19.0/libgloss/libsysbase/malloc_vars.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/malloc_vars.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,2 @@ +char *fake_heap_end = (char*)0; +char *fake_heap_start = (char*)0; -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/mkdir.c newlib-1.19.0-ppc/libgloss/libsysbase/mkdir.c ---- newlib-1.19.0/libgloss/libsysbase/mkdir.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/mkdir.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,18 @@ +#include +#include @@ -5618,9 +5608,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/mkdir.c newlib-1.19.0-ppc/libgloss + + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/open.c newlib-1.19.0-ppc/libgloss/libsysbase/open.c ---- newlib-1.19.0/libgloss/libsysbase/open.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/open.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,57 @@ +#include "config.h" +#include <_ansi.h> @@ -5679,9 +5669,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/open.c newlib-1.19.0-ppc/libgloss/ + + return fd; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/read.c newlib-1.19.0-ppc/libgloss/libsysbase/read.c ---- newlib-1.19.0/libgloss/libsysbase/read.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/read.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,48 @@ +#include "config.h" +#include <_ansi.h> @@ -5731,9 +5721,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/read.c newlib-1.19.0-ppc/libgloss/ + return ret; +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/rename.c newlib-1.19.0-ppc/libgloss/libsysbase/rename.c ---- newlib-1.19.0/libgloss/libsysbase/rename.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/rename.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,39 @@ +#include +#include @@ -5774,9 +5764,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/rename.c newlib-1.19.0-ppc/libglos + + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/sbrk.c newlib-1.19.0-ppc/libgloss/libsysbase/sbrk.c ---- newlib-1.19.0/libgloss/libsysbase/sbrk.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/sbrk.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,26 @@ +#include "config.h" +#include @@ -5804,9 +5794,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/sbrk.c newlib-1.19.0-ppc/libgloss/ + } + +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/stat.c newlib-1.19.0-ppc/libgloss/libsysbase/stat.c ---- newlib-1.19.0/libgloss/libsysbase/stat.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/stat.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,39 @@ +#include "config.h" +#include <_ansi.h> @@ -5847,9 +5837,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/stat.c newlib-1.19.0-ppc/libgloss/ + return ret; +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/statvfs.c newlib-1.19.0-ppc/libgloss/libsysbase/statvfs.c ---- newlib-1.19.0/libgloss/libsysbase/statvfs.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/statvfs.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,23 @@ +#include +#include @@ -5874,9 +5864,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/statvfs.c newlib-1.19.0-ppc/libglo + + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/syscall_support.c newlib-1.19.0-ppc/libgloss/libsysbase/syscall_support.c ---- newlib-1.19.0/libgloss/libsysbase/syscall_support.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/syscall_support.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,66 @@ +#include + @@ -5944,9 +5934,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/syscall_support.c newlib-1.19.0-pp + } +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/truncate.c newlib-1.19.0-ppc/libgloss/libsysbase/truncate.c ---- newlib-1.19.0/libgloss/libsysbase/truncate.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/truncate.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,59 @@ +#include "config.h" +#include <_ansi.h> @@ -6007,9 +5997,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/truncate.c newlib-1.19.0-ppc/libgl + + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/unlink.c newlib-1.19.0-ppc/libgloss/libsysbase/unlink.c ---- newlib-1.19.0/libgloss/libsysbase/unlink.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/unlink.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,33 @@ +#include "config.h" +#include <_ansi.h> @@ -6044,9 +6034,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/unlink.c newlib-1.19.0-ppc/libglos + return ret; +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/wait.c newlib-1.19.0-ppc/libgloss/libsysbase/wait.c ---- newlib-1.19.0/libgloss/libsysbase/wait.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/wait.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,28 @@ +/* + * Stub version of wait. @@ -6076,9 +6066,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/wait.c newlib-1.19.0-ppc/libgloss/ + return -1; +} + -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/warning.h newlib-1.19.0-ppc/libgloss/libsysbase/warning.h ---- newlib-1.19.0/libgloss/libsysbase/warning.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/warning.h 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,43 @@ +#ifndef __WARNING_H__ +#define __WARNING_H__ @@ -6123,9 +6113,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/warning.h newlib-1.19.0-ppc/libglo + "warning: " #name " is not implemented and will always fail") + +#endif /* __WARNING_H__ */ -diff -Nbaur newlib-1.19.0/libgloss/libsysbase/write.c newlib-1.19.0-ppc/libgloss/libsysbase/write.c ---- newlib-1.19.0/libgloss/libsysbase/write.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/libsysbase/write.c 2011-01-13 16:27:13.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,49 @@ +#include "config.h" +#include <_ansi.h> @@ -6176,9 +6166,9 @@ diff -Nbaur newlib-1.19.0/libgloss/libsysbase/write.c newlib-1.19.0-ppc/libgloss + } + return ret; +} -diff -Nbaur newlib-1.19.0/libgloss/rs6000/Makefile.in newlib-1.19.0-ppc/libgloss/rs6000/Makefile.in ---- newlib-1.19.0/libgloss/rs6000/Makefile.in 2010-05-03 16:15:53.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/rs6000/Makefile.in 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -129,6 +129,9 @@ XIL_TEST = xil-test XIL_INSTALL = install-xil @@ -6226,9 +6216,9 @@ diff -Nbaur newlib-1.19.0/libgloss/rs6000/Makefile.in newlib-1.19.0-ppc/libgloss doc: info: install-info: -diff -Nbaur newlib-1.19.0/libgloss/rs6000/crtmain.c newlib-1.19.0-ppc/libgloss/rs6000/crtmain.c ---- newlib-1.19.0/libgloss/rs6000/crtmain.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/libgloss/rs6000/crtmain.c 2011-01-13 13:58:53.000000000 +0000 +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-02-25 11:35:26.000000000 +0000 @@ -0,0 +1,18 @@ +#include + @@ -6248,10 +6238,10 @@ diff -Nbaur newlib-1.19.0/libgloss/rs6000/crtmain.c newlib-1.19.0-ppc/libgloss/r + SYS_PreMain(); + exit ( main(__system_argv->argc,__system_argv->argv) ); +} -diff -Nbaur newlib-1.19.0/newlib/configure.host newlib-1.19.0-ppc/newlib/configure.host ---- newlib-1.19.0/newlib/configure.host 2010-12-02 19:30:46.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/configure.host 2011-01-13 13:58:53.000000000 +0000 -@@ -727,7 +727,12 @@ +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-02-25 11:35:26.000000000 +0000 +@@ -690,7 +690,12 @@ default_newlib_io_long_long="yes" newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" ;; @@ -6265,9 +6255,9 @@ diff -Nbaur newlib-1.19.0/newlib/configure.host newlib-1.19.0-ppc/newlib/configu powerpc*-*-elf* | \ powerpc*-*-linux* | \ powerpc*-*-rtem* | \ -diff -Nbaur newlib-1.19.0/newlib/libc/include/dirent.h newlib-1.19.0-ppc/newlib/libc/include/dirent.h ---- newlib-1.19.0/newlib/libc/include/dirent.h 2001-11-30 17:26:47.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/include/dirent.h 2011-01-21 19:10:18.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -6,7 +6,7 @@ #include @@ -6277,9 +6267,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/dirent.h newlib-1.19.0-ppc/newlib/ #endif #ifdef __cplusplus -diff -Nbaur newlib-1.19.0/newlib/libc/include/pthread.h newlib-1.19.0-ppc/newlib/libc/include/pthread.h ---- newlib-1.19.0/newlib/libc/include/pthread.h 2010-12-08 14:44:06.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/include/pthread.h 1970-01-01 01:00:00.000000000 +0100 +diff -Nbaur newlib-1.20.0/newlib/libc/include/pthread.h newlib-1.20.0-ppc/newlib/libc/include/pthread.h +--- newlib-1.20.0/newlib/libc/include/pthread.h 2010-12-08 14:44:06.000000000 +0000 ++++ newlib-1.20.0-ppc/newlib/libc/include/pthread.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,359 +0,0 @@ -/* pthread.h - * @@ -6640,9 +6630,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/pthread.h newlib-1.19.0-ppc/newlib - -#endif -/* end of include file */ -diff -Nbaur newlib-1.19.0/newlib/libc/include/stdint.h newlib-1.19.0-ppc/newlib/libc/include/stdint.h ---- newlib-1.19.0/newlib/libc/include/stdint.h 2009-04-24 22:55:07.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/include/stdint.h 2011-01-13 13:58:56.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -75,14 +75,14 @@ #endif #endif @@ -6663,9 +6653,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/stdint.h newlib-1.19.0-ppc/newlib/ #elif __STDINT_EXP(SHRT_MAX) == 0x7fffffffL typedef signed short int32_t; typedef unsigned short uint32_t; -diff -Nbaur newlib-1.19.0/newlib/libc/include/stdio.h newlib-1.19.0-ppc/newlib/libc/include/stdio.h ---- newlib-1.19.0/newlib/libc/include/stdio.h 2010-02-26 09:41:43.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/include/stdio.h 2011-01-13 14:22:40.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -209,7 +209,7 @@ #else int _EXFUN(fgetpos, (FILE *, fpos_t *)); @@ -6684,9 +6674,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/stdio.h newlib-1.19.0-ppc/newlib/l int _EXFUN(_fseeko_r,(struct _reent *, FILE *, _off_t, int)); long _EXFUN(_ftell_r, (struct _reent *, FILE *)); _off_t _EXFUN(_ftello_r,(struct _reent *, FILE *)); -diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/dirent.h newlib-1.19.0-ppc/newlib/libc/include/sys/dirent.h ---- newlib-1.19.0/newlib/libc/include/sys/dirent.h 2005-10-04 21:47:39.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/include/sys/dirent.h 2011-01-23 12:38:06.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -4,10 +4,51 @@ not support , we will get this file which uses #error to force an error. */ @@ -6741,9 +6731,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/dirent.h newlib-1.19.0-ppc/new + +#endif // _dirent_h_ \ No newline at end of file -diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/iosupport.h newlib-1.19.0-ppc/newlib/libc/include/sys/iosupport.h ---- newlib-1.19.0/newlib/libc/include/sys/iosupport.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/include/sys/iosupport.h 2011-01-19 18:06:31.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -0,0 +1,94 @@ +//--------------------------------------------------------------------------------- +#ifndef __iosupp_h__ @@ -6839,9 +6829,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/iosupport.h newlib-1.19.0-ppc/ +//--------------------------------------------------------------------------------- +#endif // __iosupp_h__ +//--------------------------------------------------------------------------------- -diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/reent.h newlib-1.19.0-ppc/newlib/libc/include/sys/reent.h ---- newlib-1.19.0/newlib/libc/include/sys/reent.h 2010-06-09 16:15:35.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/include/sys/reent.h 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -203,7 +203,7 @@ /* Unix stdio files get aligned to block boundaries on fseek() */ @@ -6851,9 +6841,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/reent.h newlib-1.19.0-ppc/newl #ifndef _REENT_SMALL struct _reent *_data; /* Here for binary compatibility? Remove? */ -diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/statvfs.h newlib-1.19.0-ppc/newlib/libc/include/sys/statvfs.h ---- newlib-1.19.0/newlib/libc/include/sys/statvfs.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/include/sys/statvfs.h 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -0,0 +1,35 @@ +#ifndef _SYS_STATVFS_H +#define _SYS_STATVFS_H @@ -6891,9 +6881,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/statvfs.h newlib-1.19.0-ppc/ne + +#endif // _SYS_STATVFS_H \ No newline at end of file -diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/syslimits.h newlib-1.19.0-ppc/newlib/libc/include/sys/syslimits.h ---- newlib-1.19.0/newlib/libc/include/sys/syslimits.h 2002-08-23 02:56:03.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/include/sys/syslimits.h 2011-01-20 16:30:43.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -44,12 +44,12 @@ #define LINK_MAX 32767 /* max file link count */ #define MAX_CANON 255 /* max bytes in term canon input line */ @@ -6909,10 +6899,10 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/syslimits.h newlib-1.19.0-ppc/ #define PIPE_BUF 512 /* max bytes for atomic pipe writes */ #define IOV_MAX 1024 /* max elements in i/o vector */ -diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/types.h newlib-1.19.0-ppc/newlib/libc/include/sys/types.h ---- newlib-1.19.0/newlib/libc/include/sys/types.h 2010-12-08 14:44:06.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/include/sys/types.h 2011-01-13 13:58:57.000000000 +0000 -@@ -130,7 +130,7 @@ +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-02-25 11:35:27.000000000 +0000 +@@ -131,7 +131,7 @@ defined(__sparc__) || defined(__SPU__) typedef unsigned long ino_t; #else @@ -6921,7 +6911,7 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/types.h newlib-1.19.0-ppc/newl #endif #endif /*__CYGWIN__*/ -@@ -262,6 +262,9 @@ +@@ -263,6 +263,9 @@ typedef unsigned long useconds_t; typedef long suseconds_t; @@ -6931,10 +6921,10 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/types.h newlib-1.19.0-ppc/newl #include -diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/unistd.h newlib-1.19.0-ppc/newlib/libc/include/sys/unistd.h ---- newlib-1.19.0/newlib/libc/include/sys/unistd.h 2010-10-08 16:28:49.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/include/sys/unistd.h 2011-01-13 13:58:57.000000000 +0000 -@@ -216,12 +216,10 @@ +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-02-25 11:35:27.000000000 +0000 +@@ -219,12 +219,10 @@ int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] )); #endif @@ -6947,10 +6937,10 @@ diff -Nbaur newlib-1.19.0/newlib/libc/include/sys/unistd.h newlib-1.19.0-ppc/new #if defined(__CYGWIN__) || defined(__rtems__) int _EXFUN(getdtablesize, (void)); -diff -Nbaur newlib-1.19.0/newlib/libc/locale/locale.c newlib-1.19.0-ppc/newlib/libc/locale/locale.c ---- newlib-1.19.0/newlib/libc/locale/locale.c 2010-11-19 10:02:36.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/locale/locale.c 2011-01-13 14:00:34.000000000 +0000 -@@ -187,7 +187,6 @@ +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-02-25 11:42:20.000000000 +0000 +@@ -188,7 +188,6 @@ #define _LC_LAST 7 #define ENCODING_LEN 31 @@ -6958,7 +6948,7 @@ diff -Nbaur newlib-1.19.0/newlib/libc/locale/locale.c newlib-1.19.0-ppc/newlib/l int __nlocale_changed = 0; int __mlocale_changed = 0; -@@ -217,6 +216,10 @@ +@@ -218,6 +217,10 @@ "LC_MESSAGES", }; @@ -6969,34 +6959,35 @@ diff -Nbaur newlib-1.19.0/newlib/libc/locale/locale.c newlib-1.19.0-ppc/newlib/l /* * Default locale per POSIX. Can be overridden on a per-target base. */ -@@ -255,12 +258,14 @@ +@@ -236,7 +239,7 @@ + static char current_categories[_LC_LAST][ENCODING_LEN + 1] = { + "C", + "C", +-#ifdef __CYGWIN__ /* Cygwin starts with LC_CTYPE set to "C.UTF-8". */ ++#ifdef __DEFAULT_UTF8__ /* Cygwin starts with LC_CTYPE set to "C.UTF-8". */ + "C.UTF-8", + #else + "C", +@@ -260,11 +263,15 @@ #endif /* _MB_CAPABLE */ --#if 0 /*def __CYGWIN__ TODO: temporarily(?) disable C == UTF-8 */ +-#ifdef __CYGWIN__ +#ifdef __DEFAULT_UTF8__ static char lc_ctype_charset[ENCODING_LEN + 1] = "UTF-8"; - static char lc_message_charset[ENCODING_LEN + 1] = "UTF-8"; +int __EXPORT __mb_cur_max = 6; #else static char lc_ctype_charset[ENCODING_LEN + 1] = "ASCII"; - static char lc_message_charset[ENCODING_LEN + 1] = "ASCII"; +int __EXPORT __mb_cur_max = 1; #endif ++ ++ + static char lc_message_charset[ENCODING_LEN + 1] = "ASCII"; static int lc_ctype_cjk_lang = 0; -@@ -495,7 +500,7 @@ - if (!strcmp (locale, "POSIX")) - strcpy (locale, "C"); - if (!strcmp (locale, "C")) /* Default "C" locale */ --#if 0 /*def __CYGWIN__ TODO: temporarily(?) disable C == UTF-8 */ -+#ifdef __DEFAULT_UTF8__ - strcpy (charset, "UTF-8"); - #else - strcpy (charset, "ASCII"); -diff -Nbaur newlib-1.19.0/newlib/libc/machine/powerpc/machine/_types.h newlib-1.19.0-ppc/newlib/libc/machine/powerpc/machine/_types.h ---- newlib-1.19.0/newlib/libc/machine/powerpc/machine/_types.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/machine/powerpc/machine/_types.h 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -0,0 +1,15 @@ +/* + * $Id: newlib-1.16.0.patch,v 1.8 2008-11-29 12:08:00 wntrmute Exp $ @@ -7013,9 +7004,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/machine/powerpc/machine/_types.h newlib-1. +typedef long long _off_t; + +#endif // _MACHINE__TYPES_H -diff -Nbaur newlib-1.19.0/newlib/libc/machine/powerpc/sys/lock.h newlib-1.19.0-ppc/newlib/libc/machine/powerpc/sys/lock.h ---- newlib-1.19.0/newlib/libc/machine/powerpc/sys/lock.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/machine/powerpc/sys/lock.h 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -0,0 +1,53 @@ +#ifndef __SYS_LOCK_H__ +#define __SYS_LOCK_H__ @@ -7070,9 +7061,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/machine/powerpc/sys/lock.h newlib-1.19.0-p +extern int __libc_lock_release(int*); + +#endif /* __SYS_LOCK_H__ */ -diff -Nbaur newlib-1.19.0/newlib/libc/machine/powerpc/sys/stdio.h newlib-1.19.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h ---- newlib-1.19.0/newlib/libc/machine/powerpc/sys/stdio.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/machine/powerpc/sys/stdio.h 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -0,0 +1,25 @@ +#ifndef _NEWLIB_STDIO_H +#define _NEWLIB_STDIO_H @@ -7099,9 +7090,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/machine/powerpc/sys/stdio.h newlib-1.19.0- + +#endif /* _NEWLIB_STDIO_H */ + -diff -Nbaur newlib-1.19.0/newlib/libc/misc/init.c newlib-1.19.0-ppc/newlib/libc/misc/init.c ---- newlib-1.19.0/newlib/libc/misc/init.c 2010-06-04 16:30:40.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/misc/init.c 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -40,4 +40,8 @@ for (i = 0; i < count; i++) __init_array_start[i] (); @@ -7111,9 +7102,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/misc/init.c newlib-1.19.0-ppc/newlib/libc/ +#error why am I not defined + #endif -diff -Nbaur newlib-1.19.0/newlib/libc/stdio/Makefile.am newlib-1.19.0-ppc/newlib/libc/stdio/Makefile.am ---- newlib-1.19.0/newlib/libc/stdio/Makefile.am 2009-07-03 12:58:04.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/stdio/Makefile.am 2011-02-08 17:22:10.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -54,6 +54,7 @@ rename.c \ rewind.c \ @@ -7122,9 +7113,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/Makefile.am newlib-1.19.0-ppc/newlib scanf.c \ sccl.c \ setbuf.c \ -diff -Nbaur newlib-1.19.0/newlib/libc/stdio/Makefile.in newlib-1.19.0-ppc/newlib/libc/stdio/Makefile.in ---- newlib-1.19.0/newlib/libc/stdio/Makefile.in 2010-12-16 21:59:02.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/stdio/Makefile.in 2011-02-09 15:03:58.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -79,6 +79,7 @@ lib_a-refill.$(OBJEXT) lib_a-remove.$(OBJEXT) \ lib_a-rename.$(OBJEXT) lib_a-rewind.$(OBJEXT) \ @@ -7142,7 +7133,7 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/Makefile.in newlib-1.19.0-ppc/newlib setbuffer.lo setlinebuf.lo setvbuf.lo siprintf.lo siscanf.lo \ sniprintf.lo snprintf.lo sprintf.lo sscanf.lo stdio.lo \ tmpfile.lo tmpnam.lo ungetc.lo vdiprintf.lo vdprintf.lo \ -@@ -409,6 +410,7 @@ +@@ -410,6 +411,7 @@ rename.c \ rewind.c \ rget.c \ @@ -7150,7 +7141,7 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/Makefile.in newlib-1.19.0-ppc/newlib scanf.c \ sccl.c \ setbuf.c \ -@@ -957,6 +959,12 @@ +@@ -958,6 +960,12 @@ lib_a-rget.obj: rget.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-rget.obj `if test -f 'rget.c'; then $(CYGPATH_W) 'rget.c'; else $(CYGPATH_W) '$(srcdir)/rget.c'; fi` @@ -7163,9 +7154,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/Makefile.in newlib-1.19.0-ppc/newlib lib_a-scanf.o: scanf.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-scanf.o `test -f 'scanf.c' || echo '$(srcdir)/'`scanf.c -diff -Nbaur newlib-1.19.0/newlib/libc/stdio/findfp.c newlib-1.19.0-ppc/newlib/libc/stdio/findfp.c ---- newlib-1.19.0/newlib/libc/stdio/findfp.c 2008-12-10 23:43:12.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/stdio/findfp.c 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -222,7 +222,8 @@ /* POSIX requires stderr to be opened for reading and writing, even @@ -7176,9 +7167,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/findfp.c newlib-1.19.0-ppc/newlib/li __sinit_lock_release (); } -diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fopen.c newlib-1.19.0-ppc/newlib/libc/stdio/fopen.c ---- newlib-1.19.0/newlib/libc/stdio/fopen.c 2004-06-11 21:37:10.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/stdio/fopen.c 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -151,6 +151,9 @@ _flockfile (fp); @@ -7189,9 +7180,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fopen.c newlib-1.19.0-ppc/newlib/lib fp->_file = f; fp->_flags = flags; fp->_cookie = (_PTR) fp; -diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fseek.c newlib-1.19.0-ppc/newlib/libc/stdio/fseek.c ---- newlib-1.19.0/newlib/libc/stdio/fseek.c 2009-12-17 19:43:43.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/stdio/fseek.c 2011-01-13 14:22:54.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -120,7 +120,7 @@ _DEFUN(_fseek_r, (ptr, fp, offset, whence), struct _reent *ptr _AND @@ -7201,7 +7192,7 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fseek.c newlib-1.19.0-ppc/newlib/lib int whence) { _fpos_t _EXFNPTR(seekfn, (struct _reent *, _PTR, _fpos_t, int)); -@@ -397,7 +397,7 @@ +@@ -388,7 +388,7 @@ int _DEFUN(fseek, (fp, offset, whence), register FILE *fp _AND @@ -7210,9 +7201,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fseek.c newlib-1.19.0-ppc/newlib/lib int whence) { return _fseek_r (_REENT, fp, offset, whence); -diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fseeko.c newlib-1.19.0-ppc/newlib/libc/stdio/fseeko.c ---- newlib-1.19.0/newlib/libc/stdio/fseeko.c 2004-04-23 21:01:55.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/stdio/fseeko.c 2011-01-13 15:29:40.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -26,7 +26,7 @@ _off_t offset _AND int whence) @@ -7231,10 +7222,10 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fseeko.c newlib-1.19.0-ppc/newlib/li } #endif /* !_REENT_ONLY */ -diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fvwrite.c newlib-1.19.0-ppc/newlib/libc/stdio/fvwrite.c ---- newlib-1.19.0/newlib/libc/stdio/fvwrite.c 2007-07-13 21:37:53.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/stdio/fvwrite.c 2011-01-13 13:58:57.000000000 +0000 -@@ -98,7 +98,8 @@ +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-02-25 11:35:27.000000000 +0000 +@@ -94,7 +94,8 @@ do { GETIOV (;); @@ -7244,9 +7235,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/fvwrite.c newlib-1.19.0-ppc/newlib/l if (w <= 0) goto err; p += w; -diff -Nbaur newlib-1.19.0/newlib/libc/stdio/rmdir.c newlib-1.19.0-ppc/newlib/libc/stdio/rmdir.c ---- newlib-1.19.0/newlib/libc/stdio/rmdir.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/stdio/rmdir.c 2011-02-08 17:26:52.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -0,0 +1,90 @@ +/* + * Copyright (c) 1990 The Regents of the University of California. @@ -7338,9 +7329,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdio/rmdir.c newlib-1.19.0-ppc/newlib/lib +} + +#endif -diff -Nbaur newlib-1.19.0/newlib/libc/stdlib/mbtowc_r.c newlib-1.19.0-ppc/newlib/libc/stdlib/mbtowc_r.c ---- newlib-1.19.0/newlib/libc/stdlib/mbtowc_r.c 2010-01-17 09:39:06.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/stdlib/mbtowc_r.c 2011-01-13 14:01:14.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -9,7 +9,7 @@ int (*__mbtowc) (struct _reent *, wchar_t *, const char *, size_t, @@ -7350,9 +7341,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdlib/mbtowc_r.c newlib-1.19.0-ppc/newlib /* Cygwin starts up in UTF-8 mode. */ = __utf8_mbtowc; #else -diff -Nbaur newlib-1.19.0/newlib/libc/stdlib/mlock.c newlib-1.19.0-ppc/newlib/libc/stdlib/mlock.c ---- newlib-1.19.0/newlib/libc/stdlib/mlock.c 2005-10-28 22:21:07.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/stdlib/mlock.c 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -39,6 +39,7 @@ #include #include @@ -7368,9 +7359,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdlib/mlock.c newlib-1.19.0-ppc/newlib/li - +*/ #endif -diff -Nbaur newlib-1.19.0/newlib/libc/stdlib/wctomb_r.c newlib-1.19.0-ppc/newlib/libc/stdlib/wctomb_r.c ---- newlib-1.19.0/newlib/libc/stdlib/wctomb_r.c 2010-01-17 09:39:06.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/stdlib/wctomb_r.c 2011-01-13 14:01:40.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -8,7 +8,7 @@ int (*__wctomb) (struct _reent *, char *, wchar_t, const char *charset, @@ -7380,9 +7371,9 @@ diff -Nbaur newlib-1.19.0/newlib/libc/stdlib/wctomb_r.c newlib-1.19.0-ppc/newlib /* Cygwin starts up in UTF-8 mode. */ = __utf8_wctomb; #else -diff -Nbaur newlib-1.19.0/newlib/libc/syscalls/Makefile.am newlib-1.19.0-ppc/newlib/libc/syscalls/Makefile.am ---- newlib-1.19.0/newlib/libc/syscalls/Makefile.am 2008-01-03 22:33:37.000000000 +0000 -+++ newlib-1.19.0-ppc/newlib/libc/syscalls/Makefile.am 2011-01-13 13:58:57.000000000 +0000 +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-02-25 11:35:27.000000000 +0000 @@ -22,7 +22,6 @@ sysunlink.c \ syswrite.c @@ -7391,15 +7382,3 @@ diff -Nbaur newlib-1.19.0/newlib/libc/syscalls/Makefile.am newlib-1.19.0-ppc/new ## Weed out EL/IX level 3 interfaces if necessary if ELIX_LEVEL_1 ELIX_SOURCES = -diff -Nbaur newlib-1.19.0/newlib/libc/time/asctime_r.c newlib-1.19.0-ppc/newlib/libc/time/asctime_r.c ---- newlib-1.19.0/newlib/libc/time/asctime_r.c 2000-05-10 18:58:29.000000000 +0100 -+++ newlib-1.19.0-ppc/newlib/libc/time/asctime_r.c 2011-01-13 13:58:57.000000000 +0000 -@@ -18,7 +18,7 @@ - "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" - }; - -- sprintf (result, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n", -+ siprintf (result, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n", - day_name[tim_p->tm_wday], - mon_name[tim_p->tm_mon], - tim_p->tm_mday, tim_p->tm_hour, tim_p->tm_min, diff --git a/dkppc/scripts/build-gcc.sh b/dkppc/scripts/build-gcc.sh index d216fce..aba319a 100644 --- a/dkppc/scripts/build-gcc.sh +++ b/dkppc/scripts/build-gcc.sh @@ -108,7 +108,7 @@ then --with-newlib \ --prefix=$prefix\ --disable-dependency-tracking \ - --with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitPPC release 24" \ + --with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitPPC release 25" \ 2>&1 | tee gcc_configure.log touch configured-gcc fi