update patches for thumb2

This commit is contained in:
Dave Murphy 2008-10-19 22:24:07 +00:00
parent 701d9ce3c7
commit 1dcbf734f2
2 changed files with 284 additions and 53 deletions

View File

@ -0,0 +1,161 @@
diff -Nbaur gcc-4.3.2/gcc/config/arm/t-arm-elf gcc-4.3.2-arm/gcc/config/arm/t-arm-elf
--- gcc-4.3.2/gcc/config/arm/t-arm-elf Wed Jan 3 23:48:10 2007
+++ gcc-4.3.2-arm/gcc/config/arm/t-arm-elf Thu Sep 4 12:16:03 2008
@@ -11,23 +11,23 @@
MULTILIB_EXCEPTIONS =
MULTILIB_MATCHES =
-#MULTILIB_OPTIONS += march=armv7
-#MULTILIB_DIRNAMES += thumb2
-#MULTILIB_EXCEPTIONS += march=armv7* marm/*march=armv7*
-#MULTILIB_MATCHES += march?armv7=march?armv7-a
-#MULTILIB_MATCHES += march?armv7=march?armv7-r
-#MULTILIB_MATCHES += march?armv7=march?armv7-m
-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8
-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-m3
+MULTILIB_OPTIONS += march=armv7
+MULTILIB_DIRNAMES += thumb2
+MULTILIB_EXCEPTIONS += march=armv7* marm/*march=armv7*
+MULTILIB_MATCHES += march?armv7=march?armv7-a
+MULTILIB_MATCHES += march?armv7=march?armv7-r
+MULTILIB_MATCHES += march?armv7=march?armv7-m
+MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8
+MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
+MULTILIB_MATCHES += march?armv7=mcpu?cortex-m3
# MULTILIB_OPTIONS += mcpu=ep9312
# MULTILIB_DIRNAMES += ep9312
# MULTILIB_EXCEPTIONS += *mthumb/*mcpu=ep9312*
#
-# MULTILIB_OPTIONS += mlittle-endian/mbig-endian
-# MULTILIB_DIRNAMES += le be
-# MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle
+MULTILIB_OPTIONS += mlittle-endian/mbig-endian
+MULTILIB_DIRNAMES += le be
+MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle
#
# MULTILIB_OPTIONS += mhard-float/msoft-float
# MULTILIB_DIRNAMES += fpu soft
diff -Nbaur gcc-4.3.2/gcc/config/arm/unknown-elf.h gcc-4.3.2-arm/gcc/config/arm/unknown-elf.h
--- gcc-4.3.2/gcc/config/arm/unknown-elf.h Thu Aug 2 11:49:31 2007
+++ gcc-4.3.2-arm/gcc/config/arm/unknown-elf.h Thu Sep 4 12:15:53 2008
@@ -93,4 +93,4 @@
udivmoddi4, which will depend on the exception unwind routines,
which will depend on abort, which is defined in libc. */
#undef LINK_GCC_C_SEQUENCE_SPEC
-#define LINK_GCC_C_SEQUENCE_SPEC "--start-group %G %L --end-group"
+#define LINK_GCC_C_SEQUENCE_SPEC "--start-group %G %L %(libgloss) --end-group"
diff -Nbaur gcc-4.3.2/gcc/gcc.c gcc-4.3.2-arm/gcc/gcc.c
--- gcc-4.3.2/gcc/gcc.c Sun Mar 2 22:55:19 2008
+++ gcc-4.3.2-arm/gcc/gcc.c Thu Sep 4 12:15:53 2008
@@ -635,6 +635,11 @@
#endif
#endif
+#ifndef LIBGLOSS_SPEC
+# define LIBGLOSS_SPEC "-lsysbase"
+#endif
+
+
/* config.h can define STARTFILE_SPEC to override the default crt0 files. */
#ifndef STARTFILE_SPEC
#define STARTFILE_SPEC \
@@ -762,6 +767,7 @@
static const char *mflib_spec = MFLIB_SPEC;
static const char *link_gomp_spec = "";
static const char *libgcc_spec = LIBGCC_SPEC;
+static const char *libgloss_spec = LIBGLOSS_SPEC;
static const char *endfile_spec = ENDFILE_SPEC;
static const char *startfile_spec = STARTFILE_SPEC;
static const char *switches_need_spaces = SWITCHES_NEED_SPACES;
@@ -1586,6 +1592,7 @@
INIT_STATIC_SPEC ("mflib", &mflib_spec),
INIT_STATIC_SPEC ("link_gomp", &link_gomp_spec),
INIT_STATIC_SPEC ("libgcc", &libgcc_spec),
+ INIT_STATIC_SPEC ("libgloss", &libgloss_spec),
INIT_STATIC_SPEC ("startfile", &startfile_spec),
INIT_STATIC_SPEC ("switches_need_spaces", &switches_need_spaces),
INIT_STATIC_SPEC ("cross_compile", &cross_compile),
@@ -3418,8 +3425,6 @@
gcc_libexec_prefix = make_relative_prefix (argv[0],
standard_bindir_prefix,
standard_libexec_prefix);
- if (gcc_exec_prefix)
- xputenv (concat ("GCC_EXEC_PREFIX=", gcc_exec_prefix, NULL));
}
else
{
@@ -6264,10 +6269,21 @@
/* We need to check standard_exec_prefix/just_machine_suffix/specs
for any override of as, ld and libraries. */
+ if ( gcc_exec_prefix )
+ {
+ specs_file = alloca (strlen (gcc_exec_prefix)
+ + strlen (just_machine_suffix) + sizeof ("specs"));
+
+ strcpy (specs_file, gcc_exec_prefix);
+ } else {
+
specs_file = alloca (strlen (standard_exec_prefix)
+ strlen (just_machine_suffix) + sizeof ("specs"));
strcpy (specs_file, standard_exec_prefix);
+
+ }
+
strcat (specs_file, just_machine_suffix);
strcat (specs_file, "specs");
if (access (specs_file, R_OK) == 0)
diff -Nbaur gcc-4.3.2/gcc/prefix.c gcc-4.3.2-arm/gcc/prefix.c
--- gcc-4.3.2/gcc/prefix.c Mon Sep 3 18:09:20 2007
+++ gcc-4.3.2-arm/gcc/prefix.c Thu Sep 4 12:15:53 2008
@@ -245,13 +245,16 @@
The returned string is always malloc-ed, and the caller is
responsible for freeing it. */
+
+static const char *old_prefix = PREFIX;
+
char *
update_path (const char *path, const char *key)
{
char *result, *p;
- const int len = strlen (std_prefix);
+ const int len = strlen (old_prefix);
- if (! strncmp (path, std_prefix, len)
+ if (! strncmp (path, old_prefix, len)
&& (IS_DIR_SEPARATOR(path[len])
|| path[len] == '\0')
&& key != 0)
@@ -353,4 +356,6 @@
set_std_prefix (const char *prefix, int len)
{
std_prefix = save_string (prefix, len);
+
+ putenv (concat ("GCC_EXEC_PREFIX=", std_prefix, NULL));
}
diff -Nbaur gcc-4.3.2/gcc/toplev.c gcc-4.3.2-arm/gcc/toplev.c
--- gcc-4.3.2/gcc/toplev.c Thu Apr 24 18:59:01 2008
+++ gcc-4.3.2-arm/gcc/toplev.c Thu Sep 4 12:15:53 2008
@@ -82,6 +82,7 @@
#include "alloc-pool.h"
#include "tree-mudflap.h"
#include "tree-pass.h"
+#include "prefix.h"
#if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO)
#include "dwarf2out.h"
@@ -1622,6 +1623,10 @@
progname = p;
xmalloc_set_program_name (progname);
+
+ p = getenv("GCC_EXEC_PREFIX");
+ if (p && strlen(p)) set_std_prefix (p, strlen(p));
+
hex_init ();

View File

@ -1,6 +1,47 @@
diff -Nbaur newlib-1.16.0/libgloss/arm/crt0.S newlib-1.16.0-arm/libgloss/arm/crt0.S
--- newlib-1.16.0/libgloss/arm/crt0.S Mon Aug 13 19:13:39 2007
+++ newlib-1.16.0-arm/libgloss/arm/crt0.S Thu Sep 4 18:07:23 2008
@@ -82,12 +82,18 @@
ldr r3, .Lstack
cmp r3, #0
+#ifdef __thumb2__
+ it eq
+#endif
ldreq r3, .LC0
/* Note: This 'mov' is essential when starting in User, and ensures we
always get *some* sp value for the initial mode, even if we
have somehow missed it below (in which case it gets the same
value as FIQ - not ideal, but better than nothing.) */
mov sp, r3
+#ifdef __thumb2__
+ /* XXX Fill in stack assignments for interrupt modes. */
+#else
mrs r2, CPSR
tst r2, #0x0F /* Test mode bits - in User of all are 0 */
beq .LC23 /* "eq" means r2 AND #0x0F is 0 */
@@ -109,6 +115,7 @@
sub r3, r3, #0x2000
msr CPSR_c, #0xD3 /* Supervisory mode, interrupts disabled */
+
mov sp, r3
sub r3, r3, #0x8000 /* Min size 32k */
bic r3, r3, #0x00FF /* Align with current 64k block */
@@ -116,9 +123,9 @@
str r3, [r3, #-4] /* Move value into user mode sp without */
ldmdb r3, {sp}^ /* changing modes, via '^' form of ldm */
-
orr r2, r2, #0xC0 /* Back to original mode, presumably SVC, */
msr CPSR_c, r2 /* with FIQ/IRQ disable bits forced to 1 */
+#endif
.LC23:
/* Setup a default stack-limit in-case the code has been
compiled with "-mapcs-stack-check". Hard-wiring this value
diff -Nbaur newlib-1.16.0/libgloss/configure newlib-1.16.0-arm/libgloss/configure
--- newlib-1.16.0/libgloss/configure Thu Feb 8 21:22:05 2007
+++ newlib-1.16.0-arm/libgloss/configure Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/configure Thu Sep 4 12:29:20 2008
@@ -272,8 +272,10 @@
PACKAGE_BUGREPORT=''
@ -33,7 +74,7 @@ diff -Nbaur newlib-1.16.0/libgloss/configure newlib-1.16.0-arm/libgloss/configur
case "${target}" in
diff -Nbaur newlib-1.16.0/libgloss/configure.in newlib-1.16.0-arm/libgloss/configure.in
--- newlib-1.16.0/libgloss/configure.in Thu Feb 8 21:22:05 2007
+++ newlib-1.16.0-arm/libgloss/configure.in Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/configure.in Thu Sep 4 12:29:20 2008
@@ -2,6 +2,7 @@
AC_PREREQ(2.59)
AC_INIT([libgloss],[LIBGLOSS_VERSION])
@ -52,7 +93,7 @@ diff -Nbaur newlib-1.16.0/libgloss/configure.in newlib-1.16.0-arm/libgloss/confi
i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/Makefile.in newlib-1.16.0-arm/libgloss/libsysbase/Makefile.in
--- newlib-1.16.0/libgloss/libsysbase/Makefile.in Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/Makefile.in Sat Apr 26 01:46:34 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/Makefile.in Thu Sep 4 12:29:20 2008
@@ -0,0 +1,147 @@
+# Copyright (c) 1998 Cygnus Support
+#
@ -203,7 +244,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/Makefile.in newlib-1.16.0-arm/libg
+ $(SHELL) config.status --recheck
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/_exit.c newlib-1.16.0-arm/libgloss/libsysbase/_exit.c
--- newlib-1.16.0/libgloss/libsysbase/_exit.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/_exit.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/_exit.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,14 @@
+/* Stub version of _exit. */
+
@ -221,7 +262,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/_exit.c newlib-1.16.0-arm/libgloss
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/abort.c newlib-1.16.0-arm/libgloss/libsysbase/abort.c
--- newlib-1.16.0/libgloss/libsysbase/abort.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/abort.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/abort.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,8 @@
+#include <stdlib.h>
+#include <unistd.h>
@ -233,7 +274,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/abort.c newlib-1.16.0-arm/libgloss
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/acconfig.h newlib-1.16.0-arm/libgloss/libsysbase/acconfig.h
--- newlib-1.16.0/libgloss/libsysbase/acconfig.h Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/acconfig.h Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/acconfig.h Thu Sep 4 12:29:20 2008
@@ -0,0 +1,26 @@
+/* Name of package. */
+#undef PACKAGE
@ -263,7 +304,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/acconfig.h newlib-1.16.0-arm/libgl
+#undef __SYMBOL_PREFIX
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/aclocal.m4 newlib-1.16.0-arm/libgloss/libsysbase/aclocal.m4
--- newlib-1.16.0/libgloss/libsysbase/aclocal.m4 Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/aclocal.m4 Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/aclocal.m4 Thu Sep 4 12:29:20 2008
@@ -0,0 +1,344 @@
+# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
+
@ -611,7 +652,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/aclocal.m4 newlib-1.16.0-arm/libgl
+m4_include([../acinclude.m4])
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/build_argv.c newlib-1.16.0-arm/libgloss/libsysbase/build_argv.c
--- newlib-1.16.0/libgloss/libsysbase/build_argv.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/build_argv.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/build_argv.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,31 @@
+struct __argv {
+ int argvMagic;
@ -646,7 +687,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/build_argv.c newlib-1.16.0-arm/lib
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/chdir.c newlib-1.16.0-arm/libgloss/libsysbase/chdir.c
--- newlib-1.16.0/libgloss/libsysbase/chdir.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/chdir.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/chdir.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,175 @@
+#include <unistd.h>
+#include <reent.h>
@ -825,7 +866,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/chdir.c newlib-1.16.0-arm/libgloss
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/close.c newlib-1.16.0-arm/libgloss/libsysbase/close.c
--- newlib-1.16.0/libgloss/libsysbase/close.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/close.c Sat Apr 26 01:44:34 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/close.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,40 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -869,7 +910,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/close.c newlib-1.16.0-arm/libgloss
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/config.h.in newlib-1.16.0-arm/libgloss/libsysbase/config.h.in
--- newlib-1.16.0/libgloss/libsysbase/config.h.in Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/config.h.in Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/config.h.in Thu Sep 4 12:29:20 2008
@@ -0,0 +1,22 @@
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
@ -895,7 +936,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/config.h.in newlib-1.16.0-arm/libg
+#undef __SYMBOL_PREFIX
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/configure newlib-1.16.0-arm/libgloss/libsysbase/configure
--- newlib-1.16.0/libgloss/libsysbase/configure Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/configure Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/configure Thu Sep 4 12:29:20 2008
@@ -0,0 +1,3543 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
@ -4442,7 +4483,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/configure newlib-1.16.0-arm/libglo
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/configure.in newlib-1.16.0-arm/libgloss/libsysbase/configure.in
--- newlib-1.16.0/libgloss/libsysbase/configure.in Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/configure.in Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/configure.in Thu Sep 4 12:29:20 2008
@@ -0,0 +1,204 @@
+# Copyright (c) 1995, 1996 Cygnus Support
+#
@ -4650,7 +4691,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/configure.in newlib-1.16.0-arm/lib
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/dir.c newlib-1.16.0-arm/libgloss/libsysbase/dir.c
--- newlib-1.16.0/libgloss/libsysbase/dir.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/dir.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/dir.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,94 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -4748,7 +4789,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/dir.c newlib-1.16.0-arm/libgloss/l
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/environ.c newlib-1.16.0-arm/libgloss/libsysbase/environ.c
--- newlib-1.16.0/libgloss/libsysbase/environ.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/environ.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/environ.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,6 @@
+/*
+ * Version of environ for no OS.
@ -4758,7 +4799,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/environ.c newlib-1.16.0-arm/libglo
+char **environ = __env;
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/execve.c newlib-1.16.0-arm/libgloss/libsysbase/execve.c
--- newlib-1.16.0/libgloss/libsysbase/execve.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/execve.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/execve.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,19 @@
+/*
+ * Stub version of execve.
@ -4781,7 +4822,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/execve.c newlib-1.16.0-arm/libglos
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/fork.c newlib-1.16.0-arm/libgloss/libsysbase/fork.c
--- newlib-1.16.0/libgloss/libsysbase/fork.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/fork.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/fork.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,19 @@
+/*
+ * Stub version of fork.
@ -4804,7 +4845,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/fork.c newlib-1.16.0-arm/libgloss/
+stub_warning(_fork)
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/fstat.c newlib-1.16.0-arm/libgloss/libsysbase/fstat.c
--- newlib-1.16.0/libgloss/libsysbase/fstat.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/fstat.c Sat Apr 26 03:20:14 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/fstat.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,48 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -4856,7 +4897,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/fstat.c newlib-1.16.0-arm/libgloss
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/getpid.c newlib-1.16.0-arm/libgloss/libsysbase/getpid.c
--- newlib-1.16.0/libgloss/libsysbase/getpid.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/getpid.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/getpid.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,20 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -4880,7 +4921,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/getpid.c newlib-1.16.0-arm/libglos
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/gettod.c newlib-1.16.0-arm/libgloss/libsysbase/gettod.c
--- newlib-1.16.0/libgloss/libsysbase/gettod.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/gettod.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/gettod.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,25 @@
+/*
+ * Stub version of gettimeofday.
@ -4909,7 +4950,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/gettod.c newlib-1.16.0-arm/libglos
+stub_warning(_gettimeofday)
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/handle_manager.c newlib-1.16.0-arm/libgloss/libsysbase/handle_manager.c
--- newlib-1.16.0/libgloss/libsysbase/handle_manager.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/handle_manager.c Sat Apr 26 03:17:34 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/handle_manager.c Thu Sep 4 12:29:20 2008
@@ -0,0 +1,47 @@
+#include <stdlib.h>
+#include <stdio.h>
@ -4960,7 +5001,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/handle_manager.c newlib-1.16.0-arm
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/handle_manager.h newlib-1.16.0-arm/libgloss/libsysbase/handle_manager.h
--- newlib-1.16.0/libgloss/libsysbase/handle_manager.h Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/handle_manager.h Fri Apr 25 13:13:32 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/handle_manager.h Thu Sep 4 12:29:20 2008
@@ -0,0 +1,10 @@
+#ifndef __HANDLE_MANAGER_H__
+#define __HANDLE_MANAGER_H__
@ -4974,7 +5015,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/handle_manager.h newlib-1.16.0-arm
+#endif
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/iosupport.c newlib-1.16.0-arm/libgloss/libsysbase/iosupport.c
--- newlib-1.16.0/libgloss/libsysbase/iosupport.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/iosupport.c Sat Apr 26 01:48:28 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/iosupport.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,106 @@
+#include <stdlib.h>
+#include <string.h>
@ -5084,7 +5125,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/iosupport.c newlib-1.16.0-arm/libg
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/isatty.c newlib-1.16.0-arm/libgloss/libsysbase/isatty.c
--- newlib-1.16.0/libgloss/libsysbase/isatty.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/isatty.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/isatty.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,10 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -5098,7 +5139,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/isatty.c newlib-1.16.0-arm/libglos
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/kill.c newlib-1.16.0-arm/libgloss/libsysbase/kill.c
--- newlib-1.16.0/libgloss/libsysbase/kill.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/kill.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/kill.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,23 @@
+/*
+ * Stub version of kill.
@ -5125,7 +5166,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/kill.c newlib-1.16.0-arm/libgloss/
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/link.c newlib-1.16.0-arm/libgloss/libsysbase/link.c
--- newlib-1.16.0/libgloss/libsysbase/link.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/link.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/link.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,36 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -5165,7 +5206,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/link.c newlib-1.16.0-arm/libgloss/
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/lseek.c newlib-1.16.0-arm/libgloss/libsysbase/lseek.c
--- newlib-1.16.0/libgloss/libsysbase/lseek.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/lseek.c Sat Apr 26 01:51:13 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/lseek.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,53 @@
+
+#include <_ansi.h>
@ -5222,13 +5263,13 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/lseek.c newlib-1.16.0-arm/libgloss
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/malloc_vars.c newlib-1.16.0-arm/libgloss/libsysbase/malloc_vars.c
--- newlib-1.16.0/libgloss/libsysbase/malloc_vars.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/malloc_vars.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/malloc_vars.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,2 @@
+char *fake_heap_end = (char*)0;
+char *fake_heap_start = (char*)0;
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/mkdir.c newlib-1.16.0-arm/libgloss/libsysbase/mkdir.c
--- newlib-1.16.0/libgloss/libsysbase/mkdir.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/mkdir.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/mkdir.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,18 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5250,7 +5291,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/mkdir.c newlib-1.16.0-arm/libgloss
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/open.c newlib-1.16.0-arm/libgloss/libsysbase/open.c
--- newlib-1.16.0/libgloss/libsysbase/open.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/open.c Sat Apr 26 03:59:59 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/open.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,57 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -5311,7 +5352,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/open.c newlib-1.16.0-arm/libgloss/
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/read.c newlib-1.16.0-arm/libgloss/libsysbase/read.c
--- newlib-1.16.0/libgloss/libsysbase/read.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/read.c Wed Apr 30 03:24:57 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/read.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,47 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -5362,7 +5403,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/read.c newlib-1.16.0-arm/libgloss/
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/rename.c newlib-1.16.0-arm/libgloss/libsysbase/rename.c
--- newlib-1.16.0/libgloss/libsysbase/rename.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/rename.c Wed Apr 30 03:20:55 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/rename.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,37 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5403,7 +5444,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/rename.c newlib-1.16.0-arm/libglos
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/sbrk.c newlib-1.16.0-arm/libgloss/libsysbase/sbrk.c
--- newlib-1.16.0/libgloss/libsysbase/sbrk.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/sbrk.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/sbrk.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,61 @@
+#include <_ansi.h>
+#include <sys/types.h>
@ -5468,7 +5509,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/sbrk.c newlib-1.16.0-arm/libgloss/
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/stat.c newlib-1.16.0-arm/libgloss/libsysbase/stat.c
--- newlib-1.16.0/libgloss/libsysbase/stat.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/stat.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/stat.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,39 @@
+#include "config.h"
+#include <_ansi.h>
@ -5511,7 +5552,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/stat.c newlib-1.16.0-arm/libgloss/
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/statvfs.c newlib-1.16.0-arm/libgloss/libsysbase/statvfs.c
--- newlib-1.16.0/libgloss/libsysbase/statvfs.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/statvfs.c Sat Apr 26 01:36:06 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/statvfs.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,23 @@
+#include <reent.h>
+#include <sys/iosupport.h>
@ -5538,7 +5579,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/statvfs.c newlib-1.16.0-arm/libglo
+}
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/times.c newlib-1.16.0-arm/libgloss/libsysbase/times.c
--- newlib-1.16.0/libgloss/libsysbase/times.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/times.c Sat Apr 26 03:24:09 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/times.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,47 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -5590,7 +5631,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/times.c newlib-1.16.0-arm/libgloss
\ No newline at end of file
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/unlink.c newlib-1.16.0-arm/libgloss/libsysbase/unlink.c
--- newlib-1.16.0/libgloss/libsysbase/unlink.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/unlink.c Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/unlink.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,32 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -5626,7 +5667,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/unlink.c newlib-1.16.0-arm/libglos
+
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/wait.c newlib-1.16.0-arm/libgloss/libsysbase/wait.c
--- newlib-1.16.0/libgloss/libsysbase/wait.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/wait.c Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/wait.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,19 @@
+/*
+ * Stub version of wait.
@ -5649,7 +5690,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/wait.c newlib-1.16.0-arm/libgloss/
+stub_warning(_wait)
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/warning.h newlib-1.16.0-arm/libgloss/libsysbase/warning.h
--- newlib-1.16.0/libgloss/libsysbase/warning.h Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/warning.h Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/warning.h Thu Sep 4 12:29:21 2008
@@ -0,0 +1,43 @@
+#ifndef __WARNING_H__
+#define __WARNING_H__
@ -5696,7 +5737,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/warning.h newlib-1.16.0-arm/libglo
+#endif /* __WARNING_H__ */
diff -Nbaur newlib-1.16.0/libgloss/libsysbase/write.c newlib-1.16.0-arm/libgloss/libsysbase/write.c
--- newlib-1.16.0/libgloss/libsysbase/write.c Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/libgloss/libsysbase/write.c Sat Apr 26 01:52:08 2008
+++ newlib-1.16.0-arm/libgloss/libsysbase/write.c Thu Sep 4 12:29:21 2008
@@ -0,0 +1,47 @@
+#include <_ansi.h>
+#include <_syslist.h>
@ -5747,7 +5788,7 @@ diff -Nbaur newlib-1.16.0/libgloss/libsysbase/write.c newlib-1.16.0-arm/libgloss
+}
diff -Nbaur newlib-1.16.0/newlib/libc/include/stdint.h newlib-1.16.0-arm/newlib/libc/include/stdint.h
--- newlib-1.16.0/newlib/libc/include/stdint.h Wed Aug 16 22:39:43 2006
+++ newlib-1.16.0-arm/newlib/libc/include/stdint.h Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/include/stdint.h Thu Sep 4 12:29:21 2008
@@ -79,13 +79,13 @@
#endif
#endif
@ -5769,7 +5810,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/include/stdint.h newlib-1.16.0-arm/newlib/
typedef signed short int32_t;
diff -Nbaur newlib-1.16.0/newlib/libc/include/sys/dir.h newlib-1.16.0-arm/newlib/libc/include/sys/dir.h
--- newlib-1.16.0/newlib/libc/include/sys/dir.h Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/newlib/libc/include/sys/dir.h Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/include/sys/dir.h Thu Sep 4 12:29:21 2008
@@ -0,0 +1,32 @@
+/* <dir.h>
+
@ -5805,7 +5846,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/include/sys/dir.h newlib-1.16.0-arm/newlib
+#endif // _dir_h_
diff -Nbaur newlib-1.16.0/newlib/libc/include/sys/iosupport.h newlib-1.16.0-arm/newlib/libc/include/sys/iosupport.h
--- newlib-1.16.0/newlib/libc/include/sys/iosupport.h Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/newlib/libc/include/sys/iosupport.h Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/include/sys/iosupport.h Thu Sep 4 12:29:21 2008
@@ -0,0 +1,65 @@
+//---------------------------------------------------------------------------------
+#ifndef __iosupp_h__
@ -5874,7 +5915,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/include/sys/iosupport.h newlib-1.16.0-arm/
+//---------------------------------------------------------------------------------
diff -Nbaur newlib-1.16.0/newlib/libc/include/sys/statvfs.h newlib-1.16.0-arm/newlib/libc/include/sys/statvfs.h
--- newlib-1.16.0/newlib/libc/include/sys/statvfs.h Thu Jan 1 00:00:00 1970
+++ newlib-1.16.0-arm/newlib/libc/include/sys/statvfs.h Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/include/sys/statvfs.h Thu Sep 4 12:29:21 2008
@@ -0,0 +1,35 @@
+#ifndef _SYS_STATVFS_H
+#define _SYS_STATVFS_H
@ -5914,7 +5955,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/include/sys/statvfs.h newlib-1.16.0-arm/ne
\ No newline at end of file
diff -Nbaur newlib-1.16.0/newlib/libc/include/sys/types.h newlib-1.16.0-arm/newlib/libc/include/sys/types.h
--- newlib-1.16.0/newlib/libc/include/sys/types.h Tue Sep 18 21:05:17 2007
+++ newlib-1.16.0-arm/newlib/libc/include/sys/types.h Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/include/sys/types.h Thu Sep 4 12:29:21 2008
@@ -130,7 +130,7 @@
defined(__sparc__) || defined(__SPU__)
typedef unsigned long ino_t;
@ -5936,7 +5977,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/include/sys/types.h newlib-1.16.0-arm/newl
diff -Nbaur newlib-1.16.0/newlib/libc/locale/locale.c newlib-1.16.0-arm/newlib/libc/locale/locale.c
--- newlib-1.16.0/newlib/libc/locale/locale.c Fri Apr 23 22:44:21 2004
+++ newlib-1.16.0-arm/newlib/libc/locale/locale.c Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/locale/locale.c Thu Sep 4 12:29:21 2008
@@ -95,7 +95,7 @@
#ifdef __CYGWIN__
int __declspec(dllexport) __mb_cur_max = 1;
@ -5979,9 +6020,38 @@ diff -Nbaur newlib-1.16.0/newlib/libc/locale/locale.c newlib-1.16.0-arm/newlib/l
}
if (category == LC_CTYPE)
diff -Nbaur newlib-1.16.0/newlib/libc/machine/arm/setjmp.S newlib-1.16.0-arm/newlib/libc/machine/arm/setjmp.S
--- newlib-1.16.0/newlib/libc/machine/arm/setjmp.S Tue Feb 7 18:44:54 2006
+++ newlib-1.16.0-arm/newlib/libc/machine/arm/setjmp.S Thu Sep 4 17:26:21 2008
@@ -120,7 +120,12 @@
FUNC_START setjmp
/* Save all the callee-preserved registers into the jump buffer. */
+ #ifdef __thumb2__
+ stmea a1!, { v1-v7, fp, ip, lr }
+ str sp, [a1],#+4
+ #else
stmea a1!, { v1-v7, fp, ip, sp, lr }
+ #endif
#if 0 /* Simulator does not cope with FP instructions yet. */
#ifndef __SOFTFP__
@@ -142,7 +147,12 @@
/* If we have stack extension code it ought to be handled here. */
/* Restore the registers, retrieving the state when setjmp() was called. */
+ #ifdef __thumb2__
+ ldmfd a1!, { v1-v7, fp, ip, lr }
+ ldr sp, [a1],#+4
+ #else
ldmfd a1!, { v1-v7, fp, ip, sp, lr }
+ #endif
#if 0 /* Simulator does not cope with FP instructions yet. */
#ifndef __SOFTFP__
diff -Nbaur newlib-1.16.0/newlib/libc/misc/init.c newlib-1.16.0-arm/newlib/libc/misc/init.c
--- newlib-1.16.0/newlib/libc/misc/init.c Fri Jan 7 18:04:39 2005
+++ newlib-1.16.0-arm/newlib/libc/misc/init.c Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/misc/init.c Thu Sep 4 12:29:21 2008
@@ -57,4 +57,8 @@
_fini ();
@ -5993,7 +6063,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/misc/init.c newlib-1.16.0-arm/newlib/libc/
#endif
diff -Nbaur newlib-1.16.0/newlib/libc/reent/gettimeofdayr.c newlib-1.16.0-arm/newlib/libc/reent/gettimeofdayr.c
--- newlib-1.16.0/newlib/libc/reent/gettimeofdayr.c Fri Jul 6 17:56:30 2007
+++ newlib-1.16.0-arm/newlib/libc/reent/gettimeofdayr.c Sat Apr 26 03:28:34 2008
+++ newlib-1.16.0-arm/newlib/libc/reent/gettimeofdayr.c Thu Sep 4 12:29:21 2008
@@ -59,7 +59,7 @@
Check libc.a to see if its available on yours.
*/
@ -6012,7 +6082,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/reent/gettimeofdayr.c newlib-1.16.0-arm/ne
#endif /* ! defined (REENTRANT_SYSCALLS_PROVIDED) */
diff -Nbaur newlib-1.16.0/newlib/libc/syscalls/Makefile.am newlib-1.16.0-arm/newlib/libc/syscalls/Makefile.am
--- newlib-1.16.0/newlib/libc/syscalls/Makefile.am Mon May 1 23:01:07 2006
+++ newlib-1.16.0-arm/newlib/libc/syscalls/Makefile.am Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/syscalls/Makefile.am Thu Sep 4 12:29:21 2008
@@ -21,7 +21,6 @@
sysunlink.c \
syswrite.c
@ -6023,7 +6093,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/syscalls/Makefile.am newlib-1.16.0-arm/new
ELIX_SOURCES =
diff -Nbaur newlib-1.16.0/newlib/libc/syscalls/syslink.c newlib-1.16.0-arm/newlib/libc/syscalls/syslink.c
--- newlib-1.16.0/newlib/libc/syscalls/syslink.c Tue Jun 3 20:48:08 2003
+++ newlib-1.16.0-arm/newlib/libc/syscalls/syslink.c Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/syscalls/syslink.c Thu Sep 4 12:29:21 2008
@@ -4,8 +4,8 @@
int
@ -6037,7 +6107,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/syscalls/syslink.c newlib-1.16.0-arm/newli
return _link_r (_REENT, old, new);
diff -Nbaur newlib-1.16.0/newlib/libc/syscalls/sysunlink.c newlib-1.16.0-arm/newlib/libc/syscalls/sysunlink.c
--- newlib-1.16.0/newlib/libc/syscalls/sysunlink.c Tue Jun 3 20:48:08 2003
+++ newlib-1.16.0-arm/newlib/libc/syscalls/sysunlink.c Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/syscalls/sysunlink.c Thu Sep 4 12:29:21 2008
@@ -4,7 +4,7 @@
int
@ -6049,7 +6119,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/syscalls/sysunlink.c newlib-1.16.0-arm/new
return _unlink_r (_REENT, file);
diff -Nbaur newlib-1.16.0/newlib/libc/time/asctime_r.c newlib-1.16.0-arm/newlib/libc/time/asctime_r.c
--- newlib-1.16.0/newlib/libc/time/asctime_r.c Wed May 10 18:58:29 2000
+++ newlib-1.16.0-arm/newlib/libc/time/asctime_r.c Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/time/asctime_r.c Thu Sep 4 12:29:21 2008
@@ -18,7 +18,7 @@
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
@ -6061,7 +6131,7 @@ diff -Nbaur newlib-1.16.0/newlib/libc/time/asctime_r.c newlib-1.16.0-arm/newlib/
tim_p->tm_mday, tim_p->tm_hour, tim_p->tm_min,
diff -Nbaur newlib-1.16.0/newlib/libc/time/strftime.c newlib-1.16.0-arm/newlib/libc/time/strftime.c
--- newlib-1.16.0/newlib/libc/time/strftime.c Fri Feb 25 22:31:21 2005
+++ newlib-1.16.0-arm/newlib/libc/time/strftime.c Sat Apr 26 01:36:07 2008
+++ newlib-1.16.0-arm/newlib/libc/time/strftime.c Thu Sep 4 12:29:21 2008
@@ -424,7 +424,7 @@
int century = tim_p->tm_year >= 0
? tim_p->tm_year / 100 + YEAR_BASE / 100