toolchain: gcc: Refresh patches

Refresh all GCC patches.

Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2025-05-03 00:45:51 +02:00
parent b77684d2c1
commit e184be34ab
8 changed files with 7 additions and 44 deletions

View file

@ -70,11 +70,9 @@ Signed-off-by: Dimitry Andric <dimitry@andric.com>
gcc/system.h | 39 ++++++++++++++++++--------------------- gcc/system.h | 39 ++++++++++++++++++---------------------
1 file changed, 18 insertions(+), 21 deletions(-) 1 file changed, 18 insertions(+), 21 deletions(-)
diff --git a/gcc/system.h b/gcc/system.h
index b0edab02885..ab29fc19776 100644
--- a/gcc/system.h --- a/gcc/system.h
+++ b/gcc/system.h +++ b/gcc/system.h
@@ -194,27 +194,8 @@ extern int fprintf_unlocked (FILE *, const char *, ...); @@ -194,27 +194,8 @@ extern int fprintf_unlocked (FILE *, con
#undef fread_unlocked #undef fread_unlocked
#undef fwrite_unlocked #undef fwrite_unlocked
@ -134,6 +132,3 @@ index b0edab02885..ab29fc19776 100644
/* Some of glibc's string inlines cause warnings. Plus we'd rather /* Some of glibc's string inlines cause warnings. Plus we'd rather
rely on (and therefore test) GCC's string builtins. */ rely on (and therefore test) GCC's string builtins. */
#define __NO_STRING_INLINES #define __NO_STRING_INLINES
--
2.39.3

View file

@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
zlib/zutil.h | 2 +- zlib/zutil.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zlib/zutil.h b/zlib/zutil.h
index 4b596adf629..9ea8d840643 100644
--- a/zlib/zutil.h --- a/zlib/zutil.h
+++ b/zlib/zutil.h +++ b/zlib/zutil.h
@@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ @@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]
# endif # endif
#endif #endif
@ -47,6 +45,3 @@ index 4b596adf629..9ea8d840643 100644
# define OS_CODE 7 # define OS_CODE 7
# ifndef Z_SOLO # ifndef Z_SOLO
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os # if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--
2.49.0

View file

@ -70,11 +70,9 @@ Signed-off-by: Dimitry Andric <dimitry@andric.com>
gcc/system.h | 39 ++++++++++++++++++--------------------- gcc/system.h | 39 ++++++++++++++++++---------------------
1 file changed, 18 insertions(+), 21 deletions(-) 1 file changed, 18 insertions(+), 21 deletions(-)
diff --git a/gcc/system.h b/gcc/system.h
index b0edab02885..ab29fc19776 100644
--- a/gcc/system.h --- a/gcc/system.h
+++ b/gcc/system.h +++ b/gcc/system.h
@@ -194,27 +194,8 @@ extern int fprintf_unlocked (FILE *, const char *, ...); @@ -194,27 +194,8 @@ extern int fprintf_unlocked (FILE *, con
#undef fread_unlocked #undef fread_unlocked
#undef fwrite_unlocked #undef fwrite_unlocked
@ -134,6 +132,3 @@ index b0edab02885..ab29fc19776 100644
/* Some of glibc's string inlines cause warnings. Plus we'd rather /* Some of glibc's string inlines cause warnings. Plus we'd rather
rely on (and therefore test) GCC's string builtins. */ rely on (and therefore test) GCC's string builtins. */
#define __NO_STRING_INLINES #define __NO_STRING_INLINES
--
2.39.3

View file

@ -18,8 +18,6 @@ libcc1/ChangeLog:
libcc1/libcp1plugin.cc | 3 +-- libcc1/libcp1plugin.cc | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-) 2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/libcc1/libcc1plugin.cc b/libcc1/libcc1plugin.cc
index 72d17c3b81c..e64847466f4 100644
--- a/libcc1/libcc1plugin.cc --- a/libcc1/libcc1plugin.cc
+++ b/libcc1/libcc1plugin.cc +++ b/libcc1/libcc1plugin.cc
@@ -32,6 +32,7 @@ @@ -32,6 +32,7 @@
@ -39,8 +37,6 @@ index 72d17c3b81c..e64847466f4 100644
using namespace cc1_plugin; using namespace cc1_plugin;
diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc
index 0eff7c68d29..da68c5d0ac1 100644
--- a/libcc1/libcp1plugin.cc --- a/libcc1/libcp1plugin.cc
+++ b/libcc1/libcp1plugin.cc +++ b/libcc1/libcp1plugin.cc
@@ -33,6 +33,7 @@ @@ -33,6 +33,7 @@
@ -60,6 +56,3 @@ index 0eff7c68d29..da68c5d0ac1 100644
using namespace cc1_plugin; using namespace cc1_plugin;
--
2.39.3

View file

@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
zlib/zutil.h | 2 +- zlib/zutil.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zlib/zutil.h b/zlib/zutil.h
index 4b596adf629..9ea8d840643 100644
--- a/zlib/zutil.h --- a/zlib/zutil.h
+++ b/zlib/zutil.h +++ b/zlib/zutil.h
@@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ @@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]
# endif # endif
#endif #endif
@ -47,6 +45,3 @@ index 4b596adf629..9ea8d840643 100644
# define OS_CODE 7 # define OS_CODE 7
# ifndef Z_SOLO # ifndef Z_SOLO
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os # if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--
2.49.0

View file

@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
zlib/zutil.h | 2 +- zlib/zutil.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zlib/zutil.h b/zlib/zutil.h
index 4b596adf629..9ea8d840643 100644
--- a/zlib/zutil.h --- a/zlib/zutil.h
+++ b/zlib/zutil.h +++ b/zlib/zutil.h
@@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ @@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]
# endif # endif
#endif #endif
@ -47,6 +45,3 @@ index 4b596adf629..9ea8d840643 100644
# define OS_CODE 7 # define OS_CODE 7
# ifndef Z_SOLO # ifndef Z_SOLO
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os # if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--
2.49.0

View file

@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/gcc/config/mips/mips.cc --- a/gcc/config/mips/mips.cc
+++ b/gcc/config/mips/mips.cc +++ b/gcc/config/mips/mips.cc
@@ -20453,7 +20453,7 @@ mips_option_override (void) @@ -20447,7 +20447,7 @@ mips_option_override (void)
flag_pcc_struct_return = 0; flag_pcc_struct_return = 0;
/* Decide which rtx_costs structure to use. */ /* Decide which rtx_costs structure to use. */

View file

@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
zlib/zutil.h | 2 +- zlib/zutil.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zlib/zutil.h b/zlib/zutil.h
index 4b596adf629..9ea8d840643 100644
--- a/zlib/zutil.h --- a/zlib/zutil.h
+++ b/zlib/zutil.h +++ b/zlib/zutil.h
@@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ @@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]
# endif # endif
#endif #endif
@ -47,6 +45,3 @@ index 4b596adf629..9ea8d840643 100644
# define OS_CODE 7 # define OS_CODE 7
# ifndef Z_SOLO # ifndef Z_SOLO
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os # if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--
2.49.0