mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-30 01:28:53 +00:00
gcc: Add gcc 10.4.0
https://gcc.gnu.org/pipermail/gcc-announce/2022/000173.html Add GCC 10.4.0 and regenerate the ct-ng patches. The powerpc-Fix-asm-machine-directive-for-some-CPUs patch is dropped as the change was applied upstream (and subsequently refactored). Closes #1777 Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
f5e0d33ab4
commit
1655025873
@ -1,59 +0,0 @@
|
||||
From d568abb25fc799123168aac840372b28bb81f85d Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
Date: Tue, 18 Jan 2022 12:44:53 +0100
|
||||
Subject: [PATCH] powerpc: Fix asm machine directive for some CPUs
|
||||
|
||||
For some CPUs, the assembler machine directive cannot be determined by ISA
|
||||
flags.
|
||||
|
||||
gcc/
|
||||
|
||||
PR target/104090
|
||||
* config/rs6000/rs6000.c (rs6000_machine_from_flags): Use also
|
||||
rs6000_cpu.
|
||||
---
|
||||
gcc/config/rs6000/rs6000.c | 28 ++++++++++++++++++++++++++++
|
||||
1 file changed, 28 insertions(+)
|
||||
|
||||
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
|
||||
index 4b473e00be39..5404fb187556 100644
|
||||
--- a/gcc/config/rs6000/rs6000.c
|
||||
+++ b/gcc/config/rs6000/rs6000.c
|
||||
@@ -5547,6 +5547,34 @@ const char *rs6000_machine;
|
||||
const char *
|
||||
rs6000_machine_from_flags (void)
|
||||
{
|
||||
+ /* For some CPUs, the machine cannot be determined by ISA flags. We have to
|
||||
+ check them first. */
|
||||
+ switch (rs6000_cpu)
|
||||
+ {
|
||||
+ case PROCESSOR_PPC8540:
|
||||
+ case PROCESSOR_PPC8548:
|
||||
+ return "e500";
|
||||
+
|
||||
+ case PROCESSOR_PPCE300C2:
|
||||
+ case PROCESSOR_PPCE300C3:
|
||||
+ return "e300";
|
||||
+
|
||||
+ case PROCESSOR_PPCE500MC:
|
||||
+ return "e500mc";
|
||||
+
|
||||
+ case PROCESSOR_PPCE500MC64:
|
||||
+ return "e500mc64";
|
||||
+
|
||||
+ case PROCESSOR_PPCE5500:
|
||||
+ return "e5500";
|
||||
+
|
||||
+ case PROCESSOR_PPCE6500:
|
||||
+ return "e6500";
|
||||
+
|
||||
+ default:
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
HOST_WIDE_INT flags = rs6000_isa_flags;
|
||||
|
||||
/* Disable the flags that should never influence the .machine selection. */
|
||||
--
|
||||
2.35.1
|
||||
|
8
packages/gcc/10.3.0/chksum
vendored
8
packages/gcc/10.3.0/chksum
vendored
@ -1,8 +0,0 @@
|
||||
md5 gcc-10.3.0.tar.xz 443c15b92614a3ce8f22e3b24ca2226a
|
||||
sha1 gcc-10.3.0.tar.xz fb51ed1660c065898c75951fb38e1ebad7d49feb
|
||||
sha256 gcc-10.3.0.tar.xz 64f404c1a650f27fc33da242e1f2df54952e3963a49e06e73f6940f3223ac344
|
||||
sha512 gcc-10.3.0.tar.xz 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86
|
||||
md5 gcc-10.3.0.tar.gz 87910940d70e845f2bf1a57997b6220c
|
||||
sha1 gcc-10.3.0.tar.gz f53af25982d6a270d58e9aff0b91ee2b57cd6709
|
||||
sha256 gcc-10.3.0.tar.gz 8fcf994811ad4e5c7ac908e8cf62af2c1982319e5551f62ae72016064dacdf16
|
||||
sha512 gcc-10.3.0.tar.gz 759672f1cf740fa39b34904d3e6fb5b506a978711d5c75c2c108c1f11ff8d25adba35daad287a1c9d6721383d85eaa9cd77f569eae442015fdccb621643fbe49
|
@ -53,7 +53,7 @@
|
||||
if test x"$have_pic_shared" != x"yes" -o x"$ac_cv_search_dlopen" = x"no"; then
|
||||
--- a/gcc/configure
|
||||
+++ b/gcc/configure
|
||||
@@ -30385,6 +30385,9 @@
|
||||
@@ -30610,6 +30610,9 @@
|
||||
pluginlibs=
|
||||
plugin_check=yes
|
||||
|
||||
@ -63,7 +63,7 @@
|
||||
case "${host}" in
|
||||
*-*-mingw*)
|
||||
# Since plugin support under MinGW is not as straightforward as on
|
||||
@@ -30407,6 +30410,11 @@
|
||||
@@ -30632,6 +30635,11 @@
|
||||
export_sym_check=
|
||||
fi
|
||||
;;
|
||||
@ -75,7 +75,7 @@
|
||||
*)
|
||||
if test x$build = x$host; then
|
||||
export_sym_check="objdump${exeext} -T"
|
||||
@@ -30519,23 +30527,23 @@
|
||||
@@ -30744,23 +30752,23 @@
|
||||
case "${host}" in
|
||||
*-*-darwin*)
|
||||
CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g`
|
@ -10,7 +10,7 @@ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
||||
|
||||
--- a/libgcc/config.host
|
||||
+++ b/libgcc/config.host
|
||||
@@ -949,7 +949,7 @@
|
||||
@@ -959,7 +959,7 @@
|
||||
m68k*-*-openbsd*)
|
||||
;;
|
||||
m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc
|
@ -174,7 +174,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
|
||||
: min >= -256 && max < 256 \
|
||||
--- a/gcc/config/arm/arm.md
|
||||
+++ b/gcc/config/arm/arm.md
|
||||
@@ -9346,7 +9346,7 @@
|
||||
@@ -9356,7 +9356,7 @@
|
||||
(match_operand:SI 2 "const_int_operand") ; total range
|
||||
(match_operand:SI 3 "" "") ; table label
|
||||
(match_operand:SI 4 "" "")] ; Out of range label
|
||||
@ -185,7 +185,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
|
||||
enum insn_code code;
|
||||
--- a/gcc/config/arm/arm.opt
|
||||
+++ b/gcc/config/arm/arm.opt
|
||||
@@ -202,6 +202,10 @@
|
||||
@@ -208,6 +208,10 @@
|
||||
Target Report Mask(INTERWORK)
|
||||
Support calls between Thumb and ARM instruction sets.
|
||||
|
@ -25,7 +25,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
|
||||
|
||||
--- a/gcc/config.in
|
||||
+++ b/gcc/config.in
|
||||
@@ -2266,6 +2266,12 @@
|
||||
@@ -2285,6 +2285,12 @@
|
||||
#endif
|
||||
|
||||
|
||||
@ -111,7 +111,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
|
||||
|
||||
--- a/gcc/configure
|
||||
+++ b/gcc/configure
|
||||
@@ -1000,6 +1000,7 @@
|
||||
@@ -999,6 +999,7 @@
|
||||
enable_fix_cortex_a53_843419
|
||||
with_glibc_version
|
||||
enable_gnu_unique_object
|
||||
@ -119,7 +119,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
|
||||
enable_linker_build_id
|
||||
enable_libssp
|
||||
enable_default_ssp
|
||||
@@ -1754,6 +1755,9 @@
|
||||
@@ -1753,6 +1754,9 @@
|
||||
--enable-gnu-unique-object
|
||||
enable the use of the @gnu_unique_object ELF
|
||||
extension on glibc systems
|
||||
@ -129,7 +129,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
|
||||
--enable-linker-build-id
|
||||
compiler will always pass --build-id to linker
|
||||
--enable-libssp enable linking against libssp
|
||||
@@ -28843,6 +28847,38 @@
|
||||
@@ -28974,6 +28978,38 @@
|
||||
|
||||
$as_echo "#define HAVE_LD_EH_FRAME_HDR 1" >>confdefs.h
|
||||
|
||||
@ -170,7 +170,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
|
||||
$as_echo "$gcc_cv_ld_eh_frame_hdr" >&6; }
|
||||
--- a/gcc/configure.ac
|
||||
+++ b/gcc/configure.ac
|
||||
@@ -5376,6 +5376,35 @@
|
||||
@@ -5427,6 +5427,35 @@
|
||||
if test x"$gcc_cv_ld_eh_frame_hdr" = xyes; then
|
||||
AC_DEFINE(HAVE_LD_EH_FRAME_HDR, 1,
|
||||
[Define if your linker supports .eh_frame_hdr.])
|
@ -12,7 +12,7 @@ Date: Thu Aug 20 19:11:07 2015 +0300
|
||||
|
||||
--- a/gcc/config/i386/i386.c
|
||||
+++ b/gcc/config/i386/i386.c
|
||||
@@ -10340,6 +10340,7 @@
|
||||
@@ -10353,6 +10353,7 @@
|
||||
else if (!SYMBOL_REF_FAR_ADDR_P (op0)
|
||||
&& (SYMBOL_REF_LOCAL_P (op0)
|
||||
|| (HAVE_LD_PIE_COPYRELOC
|
@ -15,7 +15,7 @@ Date: Mon Apr 14 21:05:51 2014 -0700
|
||||
|
||||
--- a/gcc/config/arm/arm.c
|
||||
+++ b/gcc/config/arm/arm.c
|
||||
@@ -24131,9 +24131,13 @@
|
||||
@@ -24179,9 +24179,13 @@
|
||||
memsize = MEM_SIZE (x);
|
||||
|
||||
/* Only certain alignment specifiers are supported by the hardware. */
|
8
packages/gcc/10.4.0/chksum
vendored
Normal file
8
packages/gcc/10.4.0/chksum
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user