*** empty log message ***

This commit is contained in:
Dave Murphy 2008-02-17 10:31:41 +00:00
parent 7a5dac1420
commit 86688b03ac

View File

@ -246,8 +246,8 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/abort.c newlib-1.15.0-new/libgloss
+
diff -Nbaur newlib-1.15.0/libgloss/libsysbase/acconfig.h newlib-1.15.0-new/libgloss/libsysbase/acconfig.h
--- newlib-1.15.0/libgloss/libsysbase/acconfig.h Thu Jan 1 00:00:00 1970
+++ newlib-1.15.0-new/libgloss/libsysbase/acconfig.h Fri Feb 16 09:13:45 2007
@@ -0,0 +1,26 @@
+++ newlib-1.15.0-new/libgloss/libsysbase/acconfig.h Sun Feb 17 09:41:35 2008
@@ -0,0 +1,29 @@
+/* Name of package. */
+#undef PACKAGE
+
@ -257,6 +257,9 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/acconfig.h newlib-1.15.0-new/libgl
+/* Missing syscall names */
+#undef MISSING_SYSCALL_NAMES
+
+/* Reentrant syscalls */
+#undef REENTRANT_SYSCALLS_PROVIDED
+
+/* Using ELF format */
+#undef HAVE_ELF
+
@ -880,13 +883,16 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/close.c newlib-1.15.0-new/libgloss
+}
diff -Nbaur newlib-1.15.0/libgloss/libsysbase/config.h.in newlib-1.15.0-new/libgloss/libsysbase/config.h.in
--- newlib-1.15.0/libgloss/libsysbase/config.h.in Thu Jan 1 00:00:00 1970
+++ newlib-1.15.0-new/libgloss/libsysbase/config.h.in Fri Feb 16 09:13:45 2007
@@ -0,0 +1,22 @@
+++ newlib-1.15.0-new/libgloss/libsysbase/config.h.in Sun Feb 17 10:04:13 2008
@@ -0,0 +1,25 @@
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
+/* Missing syscall names */
+#undef MISSING_SYSCALL_NAMES
+
+/* Reentrant syscalls */
+#undef REENTRANT_SYSCALLS_PROVIDED
+
+/* Using ELF format */
+#undef HAVE_ELF
+
@ -906,8 +912,8 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/config.h.in newlib-1.15.0-new/libg
+#undef __SYMBOL_PREFIX
diff -Nbaur newlib-1.15.0/libgloss/libsysbase/configure newlib-1.15.0-new/libgloss/libsysbase/configure
--- newlib-1.15.0/libgloss/libsysbase/configure Thu Jan 1 00:00:00 1970
+++ newlib-1.15.0-new/libgloss/libsysbase/configure Fri Feb 16 09:13:45 2007
@@ -0,0 +1,3543 @@
+++ newlib-1.15.0-new/libgloss/libsysbase/configure Sun Feb 17 10:08:37 2008
@@ -0,0 +1,3553 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.59.
@ -2405,6 +2411,16 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/configure newlib-1.15.0-new/libglo
+ ;;
+ mn10?00-*-*)
+ ;;
+ powerpc-eabi-elf-gekko)
+ cat >>confdefs.h <<\_ACEOF
+#define MISSING_SYSCALL_NAMES 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define REENTRANT_SYSCALLS_PROVIDED 1
+_ACEOF
+
+ ;;
+ powerpcle-*-pe)
+ ;;
+ sh*-*-*)
@ -4453,8 +4469,8 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/configure newlib-1.15.0-new/libglo
+
diff -Nbaur newlib-1.15.0/libgloss/libsysbase/configure.in newlib-1.15.0-new/libgloss/libsysbase/configure.in
--- newlib-1.15.0/libgloss/libsysbase/configure.in Thu Jan 1 00:00:00 1970
+++ newlib-1.15.0-new/libgloss/libsysbase/configure.in Fri Feb 16 09:13:45 2007
@@ -0,0 +1,204 @@
+++ newlib-1.15.0-new/libgloss/libsysbase/configure.in Sun Feb 17 10:08:28 2008
@@ -0,0 +1,208 @@
+# Copyright (c) 1995, 1996 Cygnus Support
+#
+# The authors hereby grant permission to use, copy, modify, distribute,
@ -4522,6 +4538,10 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/configure.in newlib-1.15.0-new/lib
+ ;;
+ mn10?00-*-*)
+ ;;
+ powerpc-eabi-elf-gekko)
+ AC_DEFINE(MISSING_SYSCALL_NAMES)
+ AC_DEFINE(REENTRANT_SYSCALLS_PROVIDED)
+ ;;
+ powerpcle-*-pe)
+ ;;
+ sh*-*-*)
@ -5211,8 +5231,8 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/mkdir.c newlib-1.15.0-new/libgloss
+}
diff -Nbaur newlib-1.15.0/libgloss/libsysbase/open.c newlib-1.15.0-new/libgloss/libsysbase/open.c
--- newlib-1.15.0/libgloss/libsysbase/open.c Thu Jan 1 00:00:00 1970
+++ newlib-1.15.0-new/libgloss/libsysbase/open.c Fri Feb 16 09:13:45 2007
@@ -0,0 +1,58 @@
+++ newlib-1.15.0-new/libgloss/libsysbase/open.c Sun Feb 17 09:25:26 2008
@@ -0,0 +1,59 @@
+#include <_ansi.h>
+#include <_syslist.h>
+#include <string.h>
@ -5232,6 +5252,7 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/open.c newlib-1.15.0-new/libgloss/
+ int mode) {
+//---------------------------------------------------------------------------------
+#else
+#error "how fucking stupid"
+//---------------------------------------------------------------------------------
+int _DEFUN (_open, (file, flags, mode),
+ const char *file _AND
@ -5671,17 +5692,19 @@ diff -Nbaur newlib-1.15.0/libgloss/libsysbase/write.c newlib-1.15.0-new/libgloss
+}
diff -Nbaur newlib-1.15.0/newlib/configure.host newlib-1.15.0-new/newlib/configure.host
--- newlib-1.15.0/newlib/configure.host Mon Dec 18 21:49:14 2006
+++ newlib-1.15.0-new/newlib/configure.host Fri Feb 15 00:40:40 2008
@@ -428,6 +428,9 @@
powerpcle-*-pe)
posix_dir=posix
+++ newlib-1.15.0-new/newlib/configure.host Sun Feb 17 09:13:18 2008
@@ -651,6 +651,11 @@
default_newlib_io_long_long="yes"
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
;;
+ powerpc-eabi-elf-gekko)
+ default_newlib_io_long_long="yes"
+ newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED -DMISSING_SYSCALL_NAMES"
+ syscall_dir=syscalls
+ ;;
sh*-*)
sys_dir=sh
;;
powerpc*-*-eabi* | \
powerpc*-*-elf* | \
powerpc*-*-linux* | \
diff -Nbaur newlib-1.15.0/newlib/libc/include/reent.h newlib-1.15.0-new/newlib/libc/include/reent.h
--- newlib-1.15.0/newlib/libc/include/reent.h Wed Aug 27 17:24:57 2003
+++ newlib-1.15.0-new/newlib/libc/include/reent.h Fri Apr 13 02:55:00 2007