diff --git a/dka64/patches/newlib-2.5.0.20170922.patch b/dka64/patches/newlib-2.5.0.20170922.patch index aefcf6f..54597a1 100644 --- a/dka64/patches/newlib-2.5.0.20170922.patch +++ b/dka64/patches/newlib-2.5.0.20170922.patch @@ -1,5 +1,5 @@ diff --git a/libgloss/configure b/libgloss/configure -index aa6f8f8..0e85798 100755 +index aa6f8f834..0e8579890 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -2594,6 +2594,8 @@ if test "${config_libnosys}" = "true"; then @@ -12,7 +12,7 @@ index aa6f8f8..0e85798 100755 ac_config_commands="$ac_config_commands depfiles" diff --git a/libgloss/configure.in b/libgloss/configure.in -index 6da1643..f18f174 100644 +index 6da164352..f18f17447 100644 --- a/libgloss/configure.in +++ b/libgloss/configure.in @@ -2,6 +2,7 @@ dnl Process this file with autoconf to produce a configure script. @@ -33,7 +33,7 @@ index 6da1643..f18f174 100644 AS=${AS-as} diff --git a/libgloss/libsysbase/Makefile.in b/libgloss/libsysbase/Makefile.in new file mode 100644 -index 0000000..7fd7357 +index 000000000..7fd7357de --- /dev/null +++ b/libgloss/libsysbase/Makefile.in @@ -0,0 +1,148 @@ @@ -187,7 +187,7 @@ index 0000000..7fd7357 + $(SHELL) config.status --recheck diff --git a/libgloss/libsysbase/_exit.c b/libgloss/libsysbase/_exit.c new file mode 100644 -index 0000000..502d6fb +index 000000000..502d6fb5f --- /dev/null +++ b/libgloss/libsysbase/_exit.c @@ -0,0 +1,19 @@ @@ -212,7 +212,7 @@ index 0000000..502d6fb +} diff --git a/libgloss/libsysbase/abort.c b/libgloss/libsysbase/abort.c new file mode 100644 -index 0000000..9272e22 +index 000000000..9272e22c9 --- /dev/null +++ b/libgloss/libsysbase/abort.c @@ -0,0 +1,8 @@ @@ -226,7 +226,7 @@ index 0000000..9272e22 + diff --git a/libgloss/libsysbase/acconfig.h b/libgloss/libsysbase/acconfig.h new file mode 100644 -index 0000000..200ea78 +index 000000000..200ea7873 --- /dev/null +++ b/libgloss/libsysbase/acconfig.h @@ -0,0 +1,29 @@ @@ -261,7 +261,7 @@ index 0000000..200ea78 +#undef __SYMBOL_PREFIX diff --git a/libgloss/libsysbase/aclocal.m4 b/libgloss/libsysbase/aclocal.m4 new file mode 100644 -index 0000000..b6cdfae +index 000000000..b6cdfaeb8 --- /dev/null +++ b/libgloss/libsysbase/aclocal.m4 @@ -0,0 +1,344 @@ @@ -611,7 +611,7 @@ index 0000000..b6cdfae +m4_include([../acinclude.m4]) diff --git a/libgloss/libsysbase/build_argv.c b/libgloss/libsysbase/build_argv.c new file mode 100644 -index 0000000..3ca95d5 +index 000000000..3ca95d5b6 --- /dev/null +++ b/libgloss/libsysbase/build_argv.c @@ -0,0 +1,31 @@ @@ -648,7 +648,7 @@ index 0000000..3ca95d5 +} diff --git a/libgloss/libsysbase/chdir.c b/libgloss/libsysbase/chdir.c new file mode 100644 -index 0000000..90d2dc5 +index 000000000..90d2dc5b7 --- /dev/null +++ b/libgloss/libsysbase/chdir.c @@ -0,0 +1,201 @@ @@ -855,7 +855,7 @@ index 0000000..90d2dc5 +} diff --git a/libgloss/libsysbase/chmod.c b/libgloss/libsysbase/chmod.c new file mode 100644 -index 0000000..3668b58 +index 000000000..3668b5801 --- /dev/null +++ b/libgloss/libsysbase/chmod.c @@ -0,0 +1,30 @@ @@ -891,7 +891,7 @@ index 0000000..3668b58 + diff --git a/libgloss/libsysbase/close.c b/libgloss/libsysbase/close.c new file mode 100644 -index 0000000..a251e5b +index 000000000..a251e5b8f --- /dev/null +++ b/libgloss/libsysbase/close.c @@ -0,0 +1,49 @@ @@ -946,7 +946,7 @@ index 0000000..a251e5b +} diff --git a/libgloss/libsysbase/config.h.in b/libgloss/libsysbase/config.h.in new file mode 100644 -index 0000000..48ce950 +index 000000000..48ce950b4 --- /dev/null +++ b/libgloss/libsysbase/config.h.in @@ -0,0 +1,25 @@ @@ -977,10 +977,10 @@ index 0000000..48ce950 +#undef __SYMBOL_PREFIX diff --git a/libgloss/libsysbase/configure b/libgloss/libsysbase/configure new file mode 100644 -index 0000000..c4b5a79 +index 000000000..aa653c235 --- /dev/null +++ b/libgloss/libsysbase/configure -@@ -0,0 +1,4158 @@ +@@ -0,0 +1,4160 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69. @@ -3010,11 +3010,13 @@ index 0000000..c4b5a79 + ;; + a29k-amd-udi) + ;; ++ aarch64-*-elf) ++ $as_echo "#define REENTRANT_SYSCALLS_PROVIDED 1" >>confdefs.h ++ ;; + arc-*-*) + ;; + arm-*-eabi) + $as_echo "#define REENTRANT_SYSCALLS_PROVIDED 1" >>confdefs.h -+ + ;; + arm*-*-*) + ;; @@ -5141,10 +5143,10 @@ index 0000000..c4b5a79 + diff --git a/libgloss/libsysbase/configure.in b/libgloss/libsysbase/configure.in new file mode 100644 -index 0000000..bf276a4 +index 000000000..da85a3f46 --- /dev/null +++ b/libgloss/libsysbase/configure.in -@@ -0,0 +1,199 @@ +@@ -0,0 +1,202 @@ +# Copyright (c) 1995, 1996 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, @@ -5190,6 +5192,9 @@ index 0000000..bf276a4 + ;; + a29k-amd-udi) + ;; ++ aarch64-*-elf) ++ AC_DEFINE(REENTRANT_SYSCALLS_PROVIDED) ++ ;; + arc-*-*) + ;; + arm-*-eabi) @@ -5346,7 +5351,7 @@ index 0000000..bf276a4 + diff --git a/libgloss/libsysbase/dirent.c b/libgloss/libsysbase/dirent.c new file mode 100644 -index 0000000..0ad2902 +index 000000000..0ad29029c --- /dev/null +++ b/libgloss/libsysbase/dirent.c @@ -0,0 +1,255 @@ @@ -5607,7 +5612,7 @@ index 0000000..0ad2902 +} diff --git a/libgloss/libsysbase/environ.c b/libgloss/libsysbase/environ.c new file mode 100644 -index 0000000..1c485b2 +index 000000000..1c485b26f --- /dev/null +++ b/libgloss/libsysbase/environ.c @@ -0,0 +1,6 @@ @@ -5619,7 +5624,7 @@ index 0000000..1c485b2 +char **environ = __env; diff --git a/libgloss/libsysbase/execve.c b/libgloss/libsysbase/execve.c new file mode 100644 -index 0000000..598b0c5 +index 000000000..598b0c5f9 --- /dev/null +++ b/libgloss/libsysbase/execve.c @@ -0,0 +1,32 @@ @@ -5657,7 +5662,7 @@ index 0000000..598b0c5 + diff --git a/libgloss/libsysbase/fchmod.c b/libgloss/libsysbase/fchmod.c new file mode 100644 -index 0000000..5c5831c +index 000000000..5c5831cdf --- /dev/null +++ b/libgloss/libsysbase/fchmod.c @@ -0,0 +1,31 @@ @@ -5694,7 +5699,7 @@ index 0000000..5c5831c +} diff --git a/libgloss/libsysbase/flock.c b/libgloss/libsysbase/flock.c new file mode 100644 -index 0000000..c6b8c92 +index 000000000..c6b8c92ad --- /dev/null +++ b/libgloss/libsysbase/flock.c @@ -0,0 +1,21 @@ @@ -5721,7 +5726,7 @@ index 0000000..c6b8c92 +} diff --git a/libgloss/libsysbase/fork.c b/libgloss/libsysbase/fork.c new file mode 100644 -index 0000000..3aa75a3 +index 000000000..3aa75a3a1 --- /dev/null +++ b/libgloss/libsysbase/fork.c @@ -0,0 +1,25 @@ @@ -5752,7 +5757,7 @@ index 0000000..3aa75a3 +} diff --git a/libgloss/libsysbase/fstat.c b/libgloss/libsysbase/fstat.c new file mode 100644 -index 0000000..564fc32 +index 000000000..564fc328c --- /dev/null +++ b/libgloss/libsysbase/fstat.c @@ -0,0 +1,44 @@ @@ -5802,7 +5807,7 @@ index 0000000..564fc32 +} diff --git a/libgloss/libsysbase/fsync.c b/libgloss/libsysbase/fsync.c new file mode 100644 -index 0000000..4ea232b +index 000000000..4ea232bef --- /dev/null +++ b/libgloss/libsysbase/fsync.c @@ -0,0 +1,35 @@ @@ -5843,7 +5848,7 @@ index 0000000..4ea232b +} diff --git a/libgloss/libsysbase/ftruncate.c b/libgloss/libsysbase/ftruncate.c new file mode 100644 -index 0000000..bc1744c +index 000000000..bc1744c7e --- /dev/null +++ b/libgloss/libsysbase/ftruncate.c @@ -0,0 +1,36 @@ @@ -5885,7 +5890,7 @@ index 0000000..bc1744c +} diff --git a/libgloss/libsysbase/getpid.c b/libgloss/libsysbase/getpid.c new file mode 100644 -index 0000000..77d872b +index 000000000..77d872b36 --- /dev/null +++ b/libgloss/libsysbase/getpid.c @@ -0,0 +1,21 @@ @@ -5912,7 +5917,7 @@ index 0000000..77d872b + diff --git a/libgloss/libsysbase/getreent.c b/libgloss/libsysbase/getreent.c new file mode 100644 -index 0000000..1f7b905 +index 000000000..1f7b9051e --- /dev/null +++ b/libgloss/libsysbase/getreent.c @@ -0,0 +1,22 @@ @@ -5940,7 +5945,7 @@ index 0000000..1f7b905 + diff --git a/libgloss/libsysbase/gettod.c b/libgloss/libsysbase/gettod.c new file mode 100644 -index 0000000..d2982bc +index 000000000..d2982bc86 --- /dev/null +++ b/libgloss/libsysbase/gettod.c @@ -0,0 +1,35 @@ @@ -5981,7 +5986,7 @@ index 0000000..d2982bc + diff --git a/libgloss/libsysbase/handle_manager.c b/libgloss/libsysbase/handle_manager.c new file mode 100644 -index 0000000..f3fcc88 +index 000000000..f3fcc88f7 --- /dev/null +++ b/libgloss/libsysbase/handle_manager.c @@ -0,0 +1,173 @@ @@ -6160,7 +6165,7 @@ index 0000000..f3fcc88 +} diff --git a/libgloss/libsysbase/iosupport.c b/libgloss/libsysbase/iosupport.c new file mode 100644 -index 0000000..4f13127 +index 000000000..4f131275e --- /dev/null +++ b/libgloss/libsysbase/iosupport.c @@ -0,0 +1,138 @@ @@ -6304,7 +6309,7 @@ index 0000000..4f13127 + diff --git a/libgloss/libsysbase/isatty.c b/libgloss/libsysbase/isatty.c new file mode 100644 -index 0000000..c873e10 +index 000000000..c873e101d --- /dev/null +++ b/libgloss/libsysbase/isatty.c @@ -0,0 +1,20 @@ @@ -6330,7 +6335,7 @@ index 0000000..c873e10 +} diff --git a/libgloss/libsysbase/kill.c b/libgloss/libsysbase/kill.c new file mode 100644 -index 0000000..d56e340 +index 000000000..d56e3405d --- /dev/null +++ b/libgloss/libsysbase/kill.c @@ -0,0 +1,23 @@ @@ -6359,7 +6364,7 @@ index 0000000..d56e340 +} diff --git a/libgloss/libsysbase/link.c b/libgloss/libsysbase/link.c new file mode 100644 -index 0000000..b05c8fd +index 000000000..b05c8fdb1 --- /dev/null +++ b/libgloss/libsysbase/link.c @@ -0,0 +1,38 @@ @@ -6403,7 +6408,7 @@ index 0000000..b05c8fd + diff --git a/libgloss/libsysbase/lseek.c b/libgloss/libsysbase/lseek.c new file mode 100644 -index 0000000..6eeee90 +index 000000000..6eeee90de --- /dev/null +++ b/libgloss/libsysbase/lseek.c @@ -0,0 +1,52 @@ @@ -6461,7 +6466,7 @@ index 0000000..6eeee90 +} diff --git a/libgloss/libsysbase/malloc_vars.c b/libgloss/libsysbase/malloc_vars.c new file mode 100644 -index 0000000..4565909 +index 000000000..456590956 --- /dev/null +++ b/libgloss/libsysbase/malloc_vars.c @@ -0,0 +1,2 @@ @@ -6469,7 +6474,7 @@ index 0000000..4565909 +char *fake_heap_start = (char*)0; diff --git a/libgloss/libsysbase/mkdir.c b/libgloss/libsysbase/mkdir.c new file mode 100644 -index 0000000..b4fcbd3 +index 000000000..b4fcbd3d7 --- /dev/null +++ b/libgloss/libsysbase/mkdir.c @@ -0,0 +1,19 @@ @@ -6494,7 +6499,7 @@ index 0000000..b4fcbd3 +} diff --git a/libgloss/libsysbase/open.c b/libgloss/libsysbase/open.c new file mode 100644 -index 0000000..a38e05c +index 000000000..a38e05c94 --- /dev/null +++ b/libgloss/libsysbase/open.c @@ -0,0 +1,60 @@ @@ -6560,7 +6565,7 @@ index 0000000..a38e05c +} diff --git a/libgloss/libsysbase/read.c b/libgloss/libsysbase/read.c new file mode 100644 -index 0000000..7f3f7f2 +index 000000000..7f3f7f2d4 --- /dev/null +++ b/libgloss/libsysbase/read.c @@ -0,0 +1,46 @@ @@ -6612,7 +6617,7 @@ index 0000000..7f3f7f2 + diff --git a/libgloss/libsysbase/rename.c b/libgloss/libsysbase/rename.c new file mode 100644 -index 0000000..f8a0aa9 +index 000000000..f8a0aa987 --- /dev/null +++ b/libgloss/libsysbase/rename.c @@ -0,0 +1,41 @@ @@ -6659,7 +6664,7 @@ index 0000000..f8a0aa9 +} diff --git a/libgloss/libsysbase/rmdir.c b/libgloss/libsysbase/rmdir.c new file mode 100644 -index 0000000..2692a29 +index 000000000..2692a2997 --- /dev/null +++ b/libgloss/libsysbase/rmdir.c @@ -0,0 +1,25 @@ @@ -6690,7 +6695,7 @@ index 0000000..2692a29 +} diff --git a/libgloss/libsysbase/sbrk.c b/libgloss/libsysbase/sbrk.c new file mode 100644 -index 0000000..5dd550c +index 000000000..5dd550c5c --- /dev/null +++ b/libgloss/libsysbase/sbrk.c @@ -0,0 +1,60 @@ @@ -6756,7 +6761,7 @@ index 0000000..5dd550c +} diff --git a/libgloss/libsysbase/stat.c b/libgloss/libsysbase/stat.c new file mode 100644 -index 0000000..e474c47 +index 000000000..e474c47fb --- /dev/null +++ b/libgloss/libsysbase/stat.c @@ -0,0 +1,44 @@ @@ -6806,7 +6811,7 @@ index 0000000..e474c47 + diff --git a/libgloss/libsysbase/statvfs.c b/libgloss/libsysbase/statvfs.c new file mode 100644 -index 0000000..84e2213 +index 000000000..84e221340 --- /dev/null +++ b/libgloss/libsysbase/statvfs.c @@ -0,0 +1,24 @@ @@ -6836,7 +6841,7 @@ index 0000000..84e2213 +} diff --git a/libgloss/libsysbase/syscall_support.c b/libgloss/libsysbase/syscall_support.c new file mode 100644 -index 0000000..044f12d +index 000000000..044f12d16 --- /dev/null +++ b/libgloss/libsysbase/syscall_support.c @@ -0,0 +1,99 @@ @@ -6941,7 +6946,7 @@ index 0000000..044f12d + diff --git a/libgloss/libsysbase/times.c b/libgloss/libsysbase/times.c new file mode 100644 -index 0000000..45e9781 +index 000000000..45e9781ca --- /dev/null +++ b/libgloss/libsysbase/times.c @@ -0,0 +1,21 @@ @@ -6968,7 +6973,7 @@ index 0000000..45e9781 + diff --git a/libgloss/libsysbase/truncate.c b/libgloss/libsysbase/truncate.c new file mode 100644 -index 0000000..4ff1d27 +index 000000000..4ff1d27c8 --- /dev/null +++ b/libgloss/libsysbase/truncate.c @@ -0,0 +1,58 @@ @@ -7032,7 +7037,7 @@ index 0000000..4ff1d27 +} diff --git a/libgloss/libsysbase/unlink.c b/libgloss/libsysbase/unlink.c new file mode 100644 -index 0000000..9a61639 +index 000000000..9a61639af --- /dev/null +++ b/libgloss/libsysbase/unlink.c @@ -0,0 +1,37 @@ @@ -7075,7 +7080,7 @@ index 0000000..9a61639 + diff --git a/libgloss/libsysbase/wait.c b/libgloss/libsysbase/wait.c new file mode 100644 -index 0000000..f64bf13 +index 000000000..f64bf1326 --- /dev/null +++ b/libgloss/libsysbase/wait.c @@ -0,0 +1,29 @@ @@ -7110,7 +7115,7 @@ index 0000000..f64bf13 + diff --git a/libgloss/libsysbase/warning.h b/libgloss/libsysbase/warning.h new file mode 100644 -index 0000000..2c29982 +index 000000000..2c2998250 --- /dev/null +++ b/libgloss/libsysbase/warning.h @@ -0,0 +1,43 @@ @@ -7159,7 +7164,7 @@ index 0000000..2c29982 +#endif /* __WARNING_H__ */ diff --git a/libgloss/libsysbase/write.c b/libgloss/libsysbase/write.c new file mode 100644 -index 0000000..39aa78b +index 000000000..39aa78b5e --- /dev/null +++ b/libgloss/libsysbase/write.c @@ -0,0 +1,45 @@ @@ -7209,7 +7214,7 @@ index 0000000..39aa78b + return ret; +} diff --git a/newlib/configure.host b/newlib/configure.host -index ba2d8c6..4e4a584 100644 +index ba2d8c6c7..4e4a58449 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -626,13 +626,25 @@ case "${host}" in @@ -7239,7 +7244,7 @@ index ba2d8c6..4e4a584 100644 syscall_dir=syscalls ;; diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h -index ee0f612..596ddbd 100644 +index ee0f612c4..596ddbd3f 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -227,7 +227,7 @@ int _EXFUN(fgetpos, (FILE *, _fpos_t *)); @@ -7261,7 +7266,7 @@ index ee0f612..596ddbd 100644 long _EXFUN(_ftell_r, (struct _reent *, FILE *)); _off_t _EXFUN(_ftello_r,(struct _reent *, FILE *)); diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h -index 2082dfd..e535f18 100644 +index 2082dfdb1..e535f189b 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -4,6 +4,9 @@ @@ -7275,7 +7280,7 @@ index 2082dfd..e535f18 100644 #define MALLOC_ALIGNMENT 16 #endif diff --git a/newlib/libc/include/sys/dirent.h b/newlib/libc/include/sys/dirent.h -index a3fb5c0..1ead46b 100644 +index a3fb5c02c..1ead46ba0 100644 --- a/newlib/libc/include/sys/dirent.h +++ b/newlib/libc/include/sys/dirent.h @@ -1,13 +1,52 @@ @@ -7336,7 +7341,7 @@ index a3fb5c0..1ead46b 100644 +#endif // _dirent_h_ diff --git a/newlib/libc/include/sys/iosupport.h b/newlib/libc/include/sys/iosupport.h new file mode 100644 -index 0000000..10a6a71 +index 000000000..10a6a716d --- /dev/null +++ b/newlib/libc/include/sys/iosupport.h @@ -0,0 +1,105 @@ @@ -7446,7 +7451,7 @@ index 0000000..10a6a71 +#endif // __iosupp_h__ +//--------------------------------------------------------------------------------- diff --git a/newlib/libc/include/sys/lock.h b/newlib/libc/include/sys/lock.h -index 42f9c4c..567fed5 100644 +index 42f9c4cd9..567fed56b 100644 --- a/newlib/libc/include/sys/lock.h +++ b/newlib/libc/include/sys/lock.h @@ -1,69 +1,66 @@ @@ -7581,7 +7586,7 @@ index 42f9c4c..567fed5 100644 -#endif /* __SYS_LOCK_H__ */ +#endif // __SYS_LOCK_H__ diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h -index c045ca5..675c74f 100644 +index c045ca549..675c74f50 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -416,6 +416,8 @@ struct _reent @@ -7603,7 +7608,7 @@ index c045ca5..675c74f 100644 #ifdef _REENT_GLOBAL_STDIO_STREAMS diff --git a/newlib/libc/include/sys/statvfs.h b/newlib/libc/include/sys/statvfs.h new file mode 100644 -index 0000000..380329d +index 000000000..380329d34 --- /dev/null +++ b/newlib/libc/include/sys/statvfs.h @@ -0,0 +1,35 @@ @@ -7644,7 +7649,7 @@ index 0000000..380329d +#endif // _SYS_STATVFS_H \ No newline at end of file diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c -index b540237..c09ceed 100644 +index b5402372c..c09ceedea 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -107,7 +107,7 @@ beginning with <<"LC_">>. @@ -7765,7 +7770,7 @@ index b540237..c09ceed 100644 return __get_current_locale ()->ctype_ptr; } diff --git a/newlib/libc/machine/arm/Makefile.am b/newlib/libc/machine/arm/Makefile.am -index 9bd35e7..7311300 100644 +index 9bd35e733..731130092 100644 --- a/newlib/libc/machine/arm/Makefile.am +++ b/newlib/libc/machine/arm/Makefile.am @@ -11,7 +11,9 @@ noinst_LIBRARIES = lib.a @@ -7780,7 +7785,7 @@ index 9bd35e7..7311300 100644 lib_a_SOURCES += memchr.S lib_a_SOURCES += memcpy-stub.c diff --git a/newlib/libc/machine/arm/Makefile.in b/newlib/libc/machine/arm/Makefile.in -index d9dbcd5..43712f8 100644 +index d9dbcd5c3..43712f813 100644 --- a/newlib/libc/machine/arm/Makefile.in +++ b/newlib/libc/machine/arm/Makefile.in @@ -75,10 +75,10 @@ am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT) lib_a-strcmp.$(OBJEXT) \ @@ -7824,7 +7829,7 @@ index d9dbcd5..43712f8 100644 diff --git a/newlib/libc/machine/arm/sync_synchronize.c b/newlib/libc/machine/arm/sync_synchronize.c new file mode 100644 -index 0000000..3acc9e0 +index 000000000..3acc9e094 --- /dev/null +++ b/newlib/libc/machine/arm/sync_synchronize.c @@ -0,0 +1,10 @@ @@ -7840,7 +7845,7 @@ index 0000000..3acc9e0 +#endif diff --git a/newlib/libc/machine/arm/sys/stdio.h b/newlib/libc/machine/arm/sys/stdio.h new file mode 100644 -index 0000000..4eb278e +index 000000000..4eb278e2f --- /dev/null +++ b/newlib/libc/machine/arm/sys/stdio.h @@ -0,0 +1,27 @@ @@ -7872,7 +7877,7 @@ index 0000000..4eb278e + +#endif /* _NEWLIB_STDIO_H */ diff --git a/newlib/libc/reent/getreent.c b/newlib/libc/reent/getreent.c -index 60ae6fb..781f2c3 100644 +index 60ae6fbb7..781f2c353 100644 --- a/newlib/libc/reent/getreent.c +++ b/newlib/libc/reent/getreent.c @@ -1,3 +1,4 @@ @@ -7887,7 +7892,7 @@ index 60ae6fb..781f2c3 100644 + +#endif diff --git a/newlib/libc/reent/gettimeofdayr.c b/newlib/libc/reent/gettimeofdayr.c -index f5a49f7..9551e5c 100644 +index f5a49f73c..9551e5cd5 100644 --- a/newlib/libc/reent/gettimeofdayr.c +++ b/newlib/libc/reent/gettimeofdayr.c @@ -59,7 +59,7 @@ DESCRIPTION @@ -7907,7 +7912,7 @@ index f5a49f7..9551e5c 100644 +*/ #endif /* ! defined (REENTRANT_SYSCALLS_PROVIDED) */ diff --git a/newlib/libc/stdio/fread.c b/newlib/libc/stdio/fread.c -index c683947..e7d2cee 100644 +index c6839476d..e7d2cee77 100644 --- a/newlib/libc/stdio/fread.c +++ b/newlib/libc/stdio/fread.c @@ -168,7 +168,7 @@ _DEFUN(crlf_r, (ptr, fp, buf, count, eof), @@ -7954,7 +7959,7 @@ index c683947..e7d2cee 100644 /* no more input: return partial result */ #ifdef __SCLE diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c -index b8fc36a..5c31316 100644 +index b8fc36a04..5c3131698 100644 --- a/newlib/libc/stdio/fseek.c +++ b/newlib/libc/stdio/fseek.c @@ -108,7 +108,7 @@ int @@ -7976,7 +7981,7 @@ index b8fc36a..5c31316 100644 { return _fseek_r (_REENT, fp, offset, whence); diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c -index 3585423..4c00362 100644 +index 3585423af..4c0036237 100644 --- a/newlib/libc/stdio/vfprintf.c +++ b/newlib/libc/stdio/vfprintf.c @@ -112,6 +112,8 @@ Supporting OS subroutines required: <>, <>, <>, @@ -7989,7 +7994,7 @@ index 3585423..4c00362 100644 /*static char *sccsid = "from: @(#)vfprintf.c 5.50 (Berkeley) 12/16/92";*/ static char *rcsid = "$Id$"; diff --git a/newlib/libc/stdio/vfscanf.c b/newlib/libc/stdio/vfscanf.c -index 544d8db..7ca4b5a 100644 +index 544d8db7f..7ca4b5af9 100644 --- a/newlib/libc/stdio/vfscanf.c +++ b/newlib/libc/stdio/vfscanf.c @@ -108,6 +108,8 @@ These are GNU extensions. @@ -8002,7 +8007,7 @@ index 544d8db..7ca4b5a 100644 #include #include diff --git a/newlib/libc/stdio/vfwprintf.c b/newlib/libc/stdio/vfwprintf.c -index 4786ed6..b2dfd27 100644 +index 4786ed6a9..b2dfd27b7 100644 --- a/newlib/libc/stdio/vfwprintf.c +++ b/newlib/libc/stdio/vfwprintf.c @@ -92,6 +92,9 @@ SEEALSO @@ -8016,7 +8021,7 @@ index 4786ed6..b2dfd27 100644 #ifdef INTEGER_ONLY diff --git a/newlib/libc/stdio/vfwscanf.c b/newlib/libc/stdio/vfwscanf.c -index 5b35601..e3211c0 100644 +index 5b35601be..e3211c001 100644 --- a/newlib/libc/stdio/vfwscanf.c +++ b/newlib/libc/stdio/vfwscanf.c @@ -108,6 +108,9 @@ PORTABILITY @@ -8030,7 +8035,7 @@ index 5b35601..e3211c0 100644 #include #include diff --git a/newlib/libc/stdlib/mbtowc_r.c b/newlib/libc/stdlib/mbtowc_r.c -index 9d78256..1f8e5fa 100644 +index 9d782566f..1f8e5fa2a 100644 --- a/newlib/libc/stdlib/mbtowc_r.c +++ b/newlib/libc/stdlib/mbtowc_r.c @@ -7,6 +7,7 @@ @@ -8043,7 +8048,7 @@ index 9d78256..1f8e5fa 100644 struct _reent *r _AND diff --git a/newlib/libc/sys/arm/include/machine/_types.h b/newlib/libc/sys/arm/include/machine/_types.h new file mode 100644 -index 0000000..40092f9 +index 000000000..40092f99f --- /dev/null +++ b/newlib/libc/sys/arm/include/machine/_types.h @@ -0,0 +1,19 @@ @@ -8068,7 +8073,7 @@ index 0000000..40092f9 + diff --git a/newlib/libc/sys/arm/sys/lock.h b/newlib/libc/sys/arm/sys/lock.h new file mode 100644 -index 0000000..567fed5 +index 000000000..567fed56b --- /dev/null +++ b/newlib/libc/sys/arm/sys/lock.h @@ -0,0 +1,66 @@ @@ -8139,7 +8144,7 @@ index 0000000..567fed5 + +#endif // __SYS_LOCK_H__ diff --git a/newlib/libc/sys/arm/sys/param.h b/newlib/libc/sys/arm/sys/param.h -index 5b9464c..e8969b9 100644 +index 5b9464cca..e8969b954 100644 --- a/newlib/libc/sys/arm/sys/param.h +++ b/newlib/libc/sys/arm/sys/param.h @@ -19,6 +19,8 @@