Compare commits

...

4 Commits

Author SHA1 Message Date
Dave Murphy
d2e6e22b37
remove stale patches 2026-02-20 15:55:30 +00:00
Dave Murphy
f1a462cc36
devkitPPC: update newlib patch 2026-02-20 15:54:52 +00:00
Dave Murphy
9681963375
devkitA64: update newlib patch 2026-02-20 15:52:39 +00:00
Dave Murphy
e9f9826e26
update patchsets for devkitARM release 67.1 2026-02-17 17:37:34 +00:00
6 changed files with 59 additions and 14659 deletions

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -245,7 +245,7 @@ index 1939d55b9fd..62d425cb596 100644
option nofp remove ALL_FP
diff --git a/gcc/config/arm/devkitarm.h b/gcc/config/arm/devkitarm.h
new file mode 100644
index 00000000000..4d6c16a3db4
index 00000000000..7f408d6d81d
--- /dev/null
+++ b/gcc/config/arm/devkitarm.h
@@ -0,0 +1,33 @@
@ -278,7 +278,7 @@ index 00000000000..4d6c16a3db4
+ do { \
+ builtin_define ("__DEVKITPRO__"); \
+ builtin_define ("__DEVKITARM__"); \
+ TARGET_BPABI_CPP_BUILTINS();
+ TARGET_BPABI_CPP_BUILTINS(); \
+ } while (0)
+
+

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..8a66cd19f
index 000000000..e9d2200d4
--- /dev/null
+++ b/libgloss/libsysbase/flock.c
@@ -0,0 +1,22 @@
@@ -0,0 +1,43 @@
+#include <config.h>
+#include <_ansi.h>
+#include <_syslist.h>
@ -7267,6 +7267,28 @@ index 000000000..8a66cd19f
+ __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
@ -7966,10 +7988,10 @@ index 000000000..5e81c5d42
+#endif
diff --git a/libgloss/libsysbase/iosupport.c b/libgloss/libsysbase/iosupport.c
new file mode 100644
index 000000000..3fdf9749f
index 000000000..d766b3a17
--- /dev/null
+++ b/libgloss/libsysbase/iosupport.c
@@ -0,0 +1,132 @@
@@ -0,0 +1,108 @@
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
@ -7994,34 +8016,10 @@ index 000000000..3fdf9749f
+//---------------------------------------------------------------------------------
+const devoptab_t dotab_stdnull = {
+//---------------------------------------------------------------------------------
+ "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
+ .name = "stdnull",
+ .structSize = 0,
+ .write_r = null_write,
+ .dirStateSize = 0
+};
+
+//---------------------------------------------------------------------------------
@ -11821,6 +11819,19 @@ 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
@ -12501,10 +12512,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..04ebd1ee0
index 000000000..ed88fef8a
--- /dev/null
+++ b/newlib/libc/machine/powerpc/sys/stdio.h
@@ -0,0 +1,25 @@
@@ -0,0 +1,29 @@
+#ifndef _NEWLIB_STDIO_H
+#define _NEWLIB_STDIO_H
+
@ -12528,6 +12539,10 @@ index 000000000..04ebd1ee0
+# 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

View File

@ -32,10 +32,10 @@ case "$VERSION" in
"1" )
BINUTILS_VER=2.45.1
GCC_VER=15.2.0
NEWLIB_VER=4.5.0.20241231
NEWLIB_VER=4.6.0.20260123
BINUTILS_PKGREL=2
GCC_PKGREL=6
NEWLIB_PKGREL=5
GCC_PKGREL=7
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=2
NEWLIB_PKGREL=4
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=3
NEWLIB_PKGREL=4
basedir='dka64'
package=devkitA64
target=aarch64-none-elf