toolchain: gcc: Refresh patches
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 May 2025 22:45:51 +0000 (00:45 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 May 2025 20:04:13 +0000 (22:04 +0200)
Refresh all GCC patches.

Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
toolchain/gcc/patches-11.x/020-Include-safe-ctype.h-after-C-standard-headers-to-avo.patch
toolchain/gcc/patches-11.x/980-fix-build-error-with-Xcode-16.3.patch
toolchain/gcc/patches-12.x/020-Include-safe-ctype.h-after-C-standard-headers-to-avo.patch
toolchain/gcc/patches-12.x/021-libcc1-fix-vector-include.patch
toolchain/gcc/patches-12.x/980-fix-build-error-with-Xcode-16.3.patch
toolchain/gcc/patches-13.x/980-fix-build-error-with-Xcode-16.3.patch
toolchain/gcc/patches-14.x/300-mips_Os_cpu_rtx_cost_model.patch
toolchain/gcc/patches-14.x/980-fix-build-error-with-Xcode-16.3.patch

index a17c56b272db220dee9badaa8851c89121d37ec0..4a9ebbd8379db58dd5074d954bd1429d5140a1d8 100644 (file)
@@ -70,11 +70,9 @@ Signed-off-by: Dimitry Andric <dimitry@andric.com>
  gcc/system.h | 39 ++++++++++++++++++---------------------
  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
 +++ 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 fwrite_unlocked
  
@@ -134,6 +132,3 @@ index b0edab02885..ab29fc19776 100644
  /* Some of glibc's string inlines cause warnings.  Plus we'd rather
     rely on (and therefore test) GCC's string builtins.  */
  #define __NO_STRING_INLINES
--- 
-2.39.3
-
index 3f4cdd57261cb21c1aae7b60ca26c341d5ea5554..c55100133caa08d257d73f68a3ca6ae6ff2ed5a4 100644 (file)
@@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
  zlib/zutil.h | 2 +-
  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
 +++ 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
  
@@ -47,6 +45,3 @@ index 4b596adf629..9ea8d840643 100644
  #  define OS_CODE  7
  #  ifndef Z_SOLO
  #    if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--- 
-2.49.0
-
index 986d19057f38e4247963106f4ffa9b6cc77bc933..7519e31d53505be11802da96953491692710cd87 100644 (file)
@@ -70,11 +70,9 @@ Signed-off-by: Dimitry Andric <dimitry@andric.com>
  gcc/system.h | 39 ++++++++++++++++++---------------------
  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
 +++ 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 fwrite_unlocked
  
@@ -134,6 +132,3 @@ index b0edab02885..ab29fc19776 100644
  /* Some of glibc's string inlines cause warnings.  Plus we'd rather
     rely on (and therefore test) GCC's string builtins.  */
  #define __NO_STRING_INLINES
--- 
-2.39.3
-
index b6b15cd1c66f2816c6f3dfb64ce799fbe496aa10..6d672922210f0dceb44441453e403bf372615d73 100644 (file)
@@ -18,8 +18,6 @@ libcc1/ChangeLog:
  libcc1/libcp1plugin.cc | 3 +--
  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
 +++ b/libcc1/libcc1plugin.cc
 @@ -32,6 +32,7 @@
@@ -39,8 +37,6 @@ index 72d17c3b81c..e64847466f4 100644
  using namespace cc1_plugin;
  
  \f
-diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc
-index 0eff7c68d29..da68c5d0ac1 100644
 --- a/libcc1/libcp1plugin.cc
 +++ b/libcc1/libcp1plugin.cc
 @@ -33,6 +33,7 @@
@@ -60,6 +56,3 @@ index 0eff7c68d29..da68c5d0ac1 100644
  using namespace cc1_plugin;
  
  \f
--- 
-2.39.3
-
index 3f4cdd57261cb21c1aae7b60ca26c341d5ea5554..c55100133caa08d257d73f68a3ca6ae6ff2ed5a4 100644 (file)
@@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
  zlib/zutil.h | 2 +-
  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
 +++ 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
  
@@ -47,6 +45,3 @@ index 4b596adf629..9ea8d840643 100644
  #  define OS_CODE  7
  #  ifndef Z_SOLO
  #    if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--- 
-2.49.0
-
index 3f4cdd57261cb21c1aae7b60ca26c341d5ea5554..c55100133caa08d257d73f68a3ca6ae6ff2ed5a4 100644 (file)
@@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
  zlib/zutil.h | 2 +-
  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
 +++ 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
  
@@ -47,6 +45,3 @@ index 4b596adf629..9ea8d840643 100644
  #  define OS_CODE  7
  #  ifndef Z_SOLO
  #    if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--- 
-2.49.0
-
index 2cbffe451724ad1e3937cf9bfe3bd2ff388ca59c..11940960ab93753d3f913b558c66e428d768191d 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/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;
  
    /* Decide which rtx_costs structure to use.  */
index 3f4cdd57261cb21c1aae7b60ca26c341d5ea5554..c55100133caa08d257d73f68a3ca6ae6ff2ed5a4 100644 (file)
@@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
  zlib/zutil.h | 2 +-
  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
 +++ 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
  
@@ -47,6 +45,3 @@ index 4b596adf629..9ea8d840643 100644
  #  define OS_CODE  7
  #  ifndef Z_SOLO
  #    if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--- 
-2.49.0
-