Compare commits

..

No commits in common. "master" and "devkitARM_r67.1" have entirely different histories.

4 changed files with 13454 additions and 57 deletions

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash
#---------------------------------------------------------------------------------
# devkitARM release 67.2
# devkitPPC release 49.2
# devkitA64 release 29.2
# devkitARM release 67.1
# devkitPPC release 49.1
# devkitA64 release 29.1
#---------------------------------------------------------------------------------
if [ 0 -eq 1 ] ; then

File diff suppressed because it is too large Load Diff

View File

@ -7241,10 +7241,10 @@ index 000000000..5c5831cdf
+}
diff --git a/libgloss/libsysbase/flock.c b/libgloss/libsysbase/flock.c
new file mode 100644
index 000000000..e9d2200d4
index 000000000..8a66cd19f
--- /dev/null
+++ b/libgloss/libsysbase/flock.c
@@ -0,0 +1,43 @@
@@ -0,0 +1,22 @@
+#include <config.h>
+#include <_ansi.h>
+#include <_syslist.h>
@ -7267,28 +7267,6 @@ index 000000000..e9d2200d4
+ __lock_release_recursive(*(_LOCK_RECURSIVE_T*)&fp->_lock);
+}
+
+void flockfile(FILE *fp)
+{
+ if (!(fp->_flags & __SSTR)) {
+ __lock_acquire_recursive(fp->_lock);
+ }
+}
+
+void funlockfile(FILE *fp)
+{
+ if (!(fp->_flags & __SSTR)) {
+ __lock_release_recursive(fp->_lock);
+ }
+}
+
+int ftrylockfile(FILE *fp)
+{
+ if (!(fp->_flags & __SSTR)) {
+ return __lock_try_acquire_recursive(fp->_lock);
+ }
+ return 0;
+}
\ No newline at end of file
diff --git a/libgloss/libsysbase/fnmatch.c b/libgloss/libsysbase/fnmatch.c
new file mode 100644
index 000000000..893b662ab
@ -7988,10 +7966,10 @@ index 000000000..5e81c5d42
+#endif
diff --git a/libgloss/libsysbase/iosupport.c b/libgloss/libsysbase/iosupport.c
new file mode 100644
index 000000000..d766b3a17
index 000000000..3fdf9749f
--- /dev/null
+++ b/libgloss/libsysbase/iosupport.c
@@ -0,0 +1,108 @@
@@ -0,0 +1,132 @@
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
@ -8016,10 +7994,34 @@ index 000000000..d766b3a17
+//---------------------------------------------------------------------------------
+const devoptab_t dotab_stdnull = {
+//---------------------------------------------------------------------------------
+ .name = "stdnull",
+ .structSize = 0,
+ .write_r = null_write,
+ .dirStateSize = 0
+ "stdnull", // device name
+ 0, // size of file structure
+ NULL, // device open
+ NULL, // device close
+ null_write, // device write
+ NULL, // device read
+ NULL, // device seek
+ NULL, // device fstat
+ NULL, // device stat
+ NULL, // device link
+ NULL, // device unlink
+ NULL, // device chdir
+ NULL, // device rename
+ NULL, // device mkdir
+ 0, // dirStateSize
+ NULL, // device diropen_r
+ NULL, // device dirreset_r
+ NULL, // device dirnext_r
+ NULL, // device dirclose_r
+ NULL, // device statvfs_r
+ NULL, // device ftruncate_r
+ NULL, // device fsync_r
+ NULL, // deviceData
+ NULL, // chmod_r
+ NULL, // fchmod_r
+ NULL, // rmdir_r
+ NULL, // lstat_r
+ NULL, // utimes_r
+};
+
+//---------------------------------------------------------------------------------
@ -11819,19 +11821,6 @@ index 000000000..380329d34
+
+#endif // _SYS_STATVFS_H
\ No newline at end of file
diff --git a/newlib/libc/include/sys/stdio.h b/newlib/libc/include/sys/stdio.h
index 91a274596..f264adb74 100644
--- a/newlib/libc/include/sys/stdio.h
+++ b/newlib/libc/include/sys/stdio.h
@@ -24,4 +24,8 @@
#endif
#endif
+void flockfile (FILE *fp);
+void funlockfile (FILE *fp);
+int ftrylockfile (FILE *fp);
+
#endif /* _NEWLIB_STDIO_H */
diff --git a/newlib/libc/include/sys/syslimits.h b/newlib/libc/include/sys/syslimits.h
index c872d2018..b3800187f 100644
--- a/newlib/libc/include/sys/syslimits.h
@ -12512,10 +12501,10 @@ index 000000000..3618eea85
+#endif // __SYS_LOCK_H__
diff --git a/newlib/libc/machine/powerpc/sys/stdio.h b/newlib/libc/machine/powerpc/sys/stdio.h
new file mode 100644
index 000000000..ed88fef8a
index 000000000..04ebd1ee0
--- /dev/null
+++ b/newlib/libc/machine/powerpc/sys/stdio.h
@@ -0,0 +1,29 @@
@@ -0,0 +1,25 @@
+#ifndef _NEWLIB_STDIO_H
+#define _NEWLIB_STDIO_H
+
@ -12539,10 +12528,6 @@ index 000000000..ed88fef8a
+# endif
+#endif /* __SINGLE_THREAD__ */
+
+void flockfile (FILE *fp);
+void funlockfile (FILE *fp);
+int ftrylockfile (FILE *fp);
+
+#endif /* _NEWLIB_STDIO_H */
+
diff --git a/newlib/libc/stdio/fread.c b/newlib/libc/stdio/fread.c
@ -13299,7 +13284,7 @@ index 000000000..2aaca6080
+#endif // _dirent_h_
diff --git a/newlib/libc/sys/arm/sys/lock.h b/newlib/libc/sys/arm/sys/lock.h
new file mode 100644
index 000000000..9d9ffa3bb
index 000000000..ccce683f1
--- /dev/null
+++ b/newlib/libc/sys/arm/sys/lock.h
@@ -0,0 +1,122 @@
@ -13339,7 +13324,7 @@ index 000000000..9d9ffa3bb
+ *lock = __LOCK_INITIALIZER_RECURSIVE;
+}
+
+static __inline void __libc_lock_close_recursive(_LOCK_RECURSIVE_T *lock ) {}
+static inline void __libc_lock_close_recursive(_LOCK_RECURSIVE_T *lock ) {}
+
+extern void __libc_lock_acquire(_LOCK_T *lock);
+extern void __libc_lock_acquire_recursive(_LOCK_RECURSIVE_T *lock);

View File

@ -35,7 +35,7 @@ case "$VERSION" in
NEWLIB_VER=4.6.0.20260123
BINUTILS_PKGREL=2
GCC_PKGREL=7
NEWLIB_PKGREL=5
NEWLIB_PKGREL=4
basedir='dkarm-eabi'
package=devkitARM
target=arm-none-eabi
@ -52,7 +52,7 @@ case "$VERSION" in
NEWLIB_VER=4.6.0.20260123
BINUTILS_PKGREL=2
GCC_PKGREL=7
NEWLIB_PKGREL=4
NEWLIB_PKGREL=2
basedir='dkppc'
package=devkitPPC
target=powerpc-eabi
@ -69,7 +69,7 @@ case "$VERSION" in
NEWLIB_VER=4.6.0.20260123
BINUTILS_PKGREL=2
GCC_PKGREL=7
NEWLIB_PKGREL=4
NEWLIB_PKGREL=3
basedir='dka64'
package=devkitA64
target=aarch64-none-elf