gcc: Update 10.4 -> 10.5

Add GCC 10.5.0 and regenerate patches against the new version.

https://gcc.gnu.org/pipermail/gcc-announce/2023/000178.html
https://gcc.gnu.org/gcc-10/changes.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2023-07-10 16:56:35 +12:00
parent ada71ff2a0
commit dac4403390
27 changed files with 19 additions and 27 deletions

View File

@ -1,8 +0,0 @@
md5 gcc-10.4.0.tar.xz d307b8748a74939359a5843f859a4dec
sha1 gcc-10.4.0.tar.xz 352ec04a356ce6ab36975f7a4a5a38464ee98004
sha256 gcc-10.4.0.tar.xz c9297d5bcd7cb43f3dfc2fed5389e948c9312fd962ef6a4ce455cff963ebe4f1
sha512 gcc-10.4.0.tar.xz 440c08ca746da450d9a1b35e8fd2305cb27e7e6987cd9d0f7d375f3b1fc9e4b0bd7acb3cd7bf795e72fcbead59cdef5b6c152862f5d35cd9fbfe6902101ce648
md5 gcc-10.4.0.tar.gz 854262f3582222f5dc8f093ca556e910
sha1 gcc-10.4.0.tar.gz 0dadb589fd3f5ade1c9ad7cf05ae5032715e74e6
sha256 gcc-10.4.0.tar.gz ab1974017834430de27fd803ade4389602a7d6ca1362496c57bef384b2a4cb07
sha512 gcc-10.4.0.tar.gz 462c1d022751277e0933ce1f71d7550cd65f6e36e3e2c7e0b19d5ef074f826f5a53746af6aba8e359c8e906128c4973b18be0b4ddf722b276dd87a21ad5761de

View File

@ -10,7 +10,7 @@ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -959,7 +959,7 @@
@@ -977,7 +977,7 @@
m68k*-*-openbsd*)
;;
m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc

View File

@ -16,16 +16,14 @@ fixincludes/
Upstream: 6bf383c37e6131a8e247e8a0997d55d65c830b6d
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
fixincludes/fixfixes.c | 45 ++++++++++++++++++++++++++++++--
fixincludes/inclhack.def | 3 ++-
fixincludes/tests/base/testing.h | 2 +-
fixincludes/fixfixes.c | 45 +++++++++++++++++++++++++++++++++++++--
fixincludes/inclhack.def | 3 +-
fixincludes/tests/base/testing.h | 2 -
3 files changed, 46 insertions(+), 4 deletions(-)
diff --git a/fixincludes/fixfixes.c b/fixincludes/fixfixes.c
index 034e15d9985..3ff87812036 100644
--- a/fixincludes/fixfixes.c
+++ b/fixincludes/fixfixes.c
@@ -477,6 +477,39 @@ FIX_PROC_HEAD( char_macro_def_fix )
@@ -477,6 +477,39 @@
fputs (text, stdout);
}
@ -65,7 +63,7 @@ index 034e15d9985..3ff87812036 100644
/* Fix for machine name #ifdefs that are not in the namespace reserved
by the C standard. They won't be defined if compiling with -ansi,
and the headers will break. We go to some trouble to only change
@@ -524,7 +557,7 @@ FIX_PROC_HEAD( machine_name_fix )
@@ -524,7 +557,7 @@
/* If the 'name_pat' matches in between base and limit, we have
a bogon. It is not worth the hassle of excluding comments
because comments on #if/#ifdef lines are rare, and strings on
@ -74,7 +72,7 @@ index 034e15d9985..3ff87812036 100644
REG_NOTBOL means 'base' is not at the beginning of a line, which
shouldn't matter since the name_re has no ^ anchor, but let's
@@ -544,8 +577,16 @@ FIX_PROC_HEAD( machine_name_fix )
@@ -544,8 +577,16 @@
break;
p = base + match[0].rm_so;
@ -92,11 +90,9 @@ index 034e15d9985..3ff87812036 100644
/* One more test: if on the same line we have the same string
with the appropriate underscores, then leave it alone.
We want exactly two leading and trailing underscores. */
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index f58e7771e1c..71bd717c233 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -3114,7 +3114,8 @@ fix = {
@@ -3161,7 +3161,8 @@
c_fix = machine_name;
test_text = "/* MACH_DIFF: */\n"
@ -106,11 +102,9 @@ index f58e7771e1c..71bd717c233 100644
"\n/* no uniform test, so be careful :-) */";
};
diff --git a/fixincludes/tests/base/testing.h b/fixincludes/tests/base/testing.h
index cf95321fb86..8b3accaf04e 100644
--- a/fixincludes/tests/base/testing.h
+++ b/fixincludes/tests/base/testing.h
@@ -64,7 +64,7 @@ BSD43__IOWR('T', 1) /* Some are multi-line */
@@ -64,7 +64,7 @@
#if defined( MACHINE_NAME_CHECK )
/* MACH_DIFF: */
@ -119,5 +113,3 @@ index cf95321fb86..8b3accaf04e 100644
/* no uniform test, so be careful :-) */
#endif /* MACHINE_NAME_CHECK */
--
2.37.3

View File

@ -37,7 +37,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1113,14 +1113,18 @@
@@ -1127,14 +1127,18 @@
extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
;;
aarch64*-*-linux*)
@ -57,7 +57,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
esac
aarch64_multilibs="${with_multilib_list}"
if test "$aarch64_multilibs" = "default"; then
@@ -2532,6 +2536,17 @@
@@ -2546,6 +2550,17 @@
tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/linux.h mips/linux-common.h"
extra_options="${extra_options} linux-android.opt"
case ${target} in

8
packages/gcc/10.5.0/chksum vendored Normal file
View File

@ -0,0 +1,8 @@
md5 gcc-10.5.0.tar.xz c7d1958570fbd1cd859b015774b9987a
sha1 gcc-10.5.0.tar.xz 87446e6e93cab52dea610a06e23c9653195abd21
sha256 gcc-10.5.0.tar.xz 25109543fdf46f397c347b5d8b7a2c7e5694a5a51cce4b9c6e1ea8a71ca307c1
sha512 gcc-10.5.0.tar.xz d86dbc18b978771531f4039465e7eb7c19845bf607dc513c97abf8e45ffe1086a99d98f83dfb7b37204af22431574186de9d5ff80c8c3c3a98dbe3983195bffd
md5 gcc-10.5.0.tar.gz fbbf1f6a1fb5f811e376bb49ee589115
sha1 gcc-10.5.0.tar.gz 61c5a57c28cebfb240a41da5f0f694c3356408f3
sha256 gcc-10.5.0.tar.gz eed4dd5fc3cd9f52cb3a51a4fde1728cb19ec76292f559518e83652e7437befe
sha512 gcc-10.5.0.tar.gz a72240802a2c3bad10303a6f26368856bea22c7bf1cffcd62d4de9ec9ca655c158cfc4a07b43dea9bb031b95200b87711848cb4e939937730150d7cb7fc48ac9