diff options
author | Hans-Christian Noren Egtvedt <hegtvedt@cisco.com> | 2020-03-13 10:31:08 +0100 |
---|---|---|
committer | Hans-Christian Noren Egtvedt <hegtvedt@cisco.com> | 2020-08-27 11:35:59 +0200 |
commit | b0c0005f8a056afed06d663bb4e15f5dbd32e973 (patch) | |
tree | 26ed90307a37e6381d2590a9ce52218a41aa69c3 /packages/gcc | |
parent | c0f2d7016b7032b29b5d5b401d5c4f4d24822719 (diff) | |
download | crosstool-ng-b0c0005f8a056afed06d663bb4e15f5dbd32e973.tar.gz crosstool-ng-b0c0005f8a056afed06d663bb4e15f5dbd32e973.tar.bz2 crosstool-ng-b0c0005f8a056afed06d663bb4e15f5dbd32e973.zip |
Update to GCC 9.x to latest release 9.3.0
Forward ported patches from GCC 9.2.0 to 9.3.0, refreshed to match
current sources.
Patch 0010-crystax.patch did not apply clean and had minor adjustments
to fit new GCC 9.3.0 release.
Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
Diffstat (limited to 'packages/gcc')
-rw-r--r-- | packages/gcc/9.2.0/chksum | 8 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0000-libtool-leave-framework-alone.patch (renamed from packages/gcc/9.2.0/0000-libtool-leave-framework-alone.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0001-uclibc-conf.patch (renamed from packages/gcc/9.2.0/0001-uclibc-conf.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc/9.2.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch) | 6 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc/9.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0004-arm-softfloat-libgcc.patch (renamed from packages/gcc/9.2.0/0004-arm-softfloat-libgcc.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0005-fix-m68k-uclinux.patch (renamed from packages/gcc/9.2.0/0005-fix-m68k-uclinux.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0006-libgfortran-missing-include.patch (renamed from packages/gcc/9.2.0/0006-libgfortran-missing-include.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0007-nios2-bad-multilib-default.patch (renamed from packages/gcc/9.2.0/0007-nios2-bad-multilib-default.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0008-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc/9.2.0/0008-libgcc-disable-split-stack-nothreads.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0009-bionic-ndk.patch (renamed from packages/gcc/9.2.0/0009-bionic-ndk.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0010-crystax.patch (renamed from packages/gcc/9.2.0/0010-crystax.patch) | 16 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0011-crystax.patch (renamed from packages/gcc/9.2.0/0011-crystax.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0012-crystax.patch (renamed from packages/gcc/9.2.0/0012-crystax.patch) | 6 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0013-crystax.patch (renamed from packages/gcc/9.2.0/0013-crystax.patch) | 2 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0014-crystax.patch (renamed from packages/gcc/9.2.0/0014-crystax.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0015-crystax.patch (renamed from packages/gcc/9.2.0/0015-crystax.patch) | 2 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0016-crystax.patch (renamed from packages/gcc/9.2.0/0016-crystax.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0017-crystax.patch (renamed from packages/gcc/9.2.0/0017-crystax.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/0018-isl-0.20.patch (renamed from packages/gcc/9.2.0/0018-isl-0.20.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/9.3.0/chksum | 8 | ||||
-rw-r--r-- | packages/gcc/9.3.0/version.desc (renamed from packages/gcc/9.2.0/version.desc) | 0 |
22 files changed, 25 insertions, 23 deletions
diff --git a/packages/gcc/9.2.0/chksum b/packages/gcc/9.2.0/chksum deleted file mode 100644 index 2ece5522..00000000 --- a/packages/gcc/9.2.0/chksum +++ /dev/null @@ -1,8 +0,0 @@ -md5 gcc-9.2.0.tar.xz 3818ad8600447f05349098232c2ddc78 -sha1 gcc-9.2.0.tar.xz 306d27c3465fa36862c206738d06d65fff5c3645 -sha256 gcc-9.2.0.tar.xz ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206 -sha512 gcc-9.2.0.tar.xz a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040 -md5 gcc-9.2.0.tar.gz e03739b042a14376d727ddcfd05a9bc3 -sha1 gcc-9.2.0.tar.gz 256be3760f6aca3eaa45083e25828ce0802e2010 -sha256 gcc-9.2.0.tar.gz a931a750d6feadacbeecb321d73925cd5ebb6dfa7eff0802984af3aef63759f4 -sha512 gcc-9.2.0.tar.gz 55fead9cac2374b18134c17a143fc9317f67be834589303d31a7c3a6878e6bef22a0590fda902a07cb60f802df035e67975a8ab6a641048e0baa89af439a46ca diff --git a/packages/gcc/9.2.0/0000-libtool-leave-framework-alone.patch b/packages/gcc/9.3.0/0000-libtool-leave-framework-alone.patch index b5804ea1..b5804ea1 100644 --- a/packages/gcc/9.2.0/0000-libtool-leave-framework-alone.patch +++ b/packages/gcc/9.3.0/0000-libtool-leave-framework-alone.patch diff --git a/packages/gcc/9.2.0/0001-uclibc-conf.patch b/packages/gcc/9.3.0/0001-uclibc-conf.patch index a9ae872d..a9ae872d 100644 --- a/packages/gcc/9.2.0/0001-uclibc-conf.patch +++ b/packages/gcc/9.3.0/0001-uclibc-conf.patch diff --git a/packages/gcc/9.2.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc/9.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch index e7559988..18fe9315 100644 --- a/packages/gcc/9.2.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch +++ b/packages/gcc/9.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch @@ -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 -@@ -29858,6 +29858,9 @@ fi +@@ -29862,6 +29862,9 @@ fi pluginlibs= plugin_check=yes @@ -63,7 +63,7 @@ case "${host}" in *-*-mingw*) # Since plugin support under MinGW is not as straightforward as on -@@ -29880,6 +29883,11 @@ fi +@@ -29884,6 +29887,11 @@ fi export_sym_check= fi ;; @@ -75,7 +75,7 @@ *) if test x$build = x$host; then export_sym_check="objdump${exeext} -T" -@@ -29992,23 +30000,23 @@ fi +@@ -29996,23 +30004,23 @@ fi case "${host}" in *-*-darwin*) CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g` diff --git a/packages/gcc/9.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/9.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch index 3040e23c..3040e23c 100644 --- a/packages/gcc/9.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch +++ b/packages/gcc/9.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch diff --git a/packages/gcc/9.2.0/0004-arm-softfloat-libgcc.patch b/packages/gcc/9.3.0/0004-arm-softfloat-libgcc.patch index d9800365..d9800365 100644 --- a/packages/gcc/9.2.0/0004-arm-softfloat-libgcc.patch +++ b/packages/gcc/9.3.0/0004-arm-softfloat-libgcc.patch diff --git a/packages/gcc/9.2.0/0005-fix-m68k-uclinux.patch b/packages/gcc/9.3.0/0005-fix-m68k-uclinux.patch index 62bea0ec..62bea0ec 100644 --- a/packages/gcc/9.2.0/0005-fix-m68k-uclinux.patch +++ b/packages/gcc/9.3.0/0005-fix-m68k-uclinux.patch diff --git a/packages/gcc/9.2.0/0006-libgfortran-missing-include.patch b/packages/gcc/9.3.0/0006-libgfortran-missing-include.patch index f93524b1..f93524b1 100644 --- a/packages/gcc/9.2.0/0006-libgfortran-missing-include.patch +++ b/packages/gcc/9.3.0/0006-libgfortran-missing-include.patch diff --git a/packages/gcc/9.2.0/0007-nios2-bad-multilib-default.patch b/packages/gcc/9.3.0/0007-nios2-bad-multilib-default.patch index 4acc4918..4acc4918 100644 --- a/packages/gcc/9.2.0/0007-nios2-bad-multilib-default.patch +++ b/packages/gcc/9.3.0/0007-nios2-bad-multilib-default.patch diff --git a/packages/gcc/9.2.0/0008-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/9.3.0/0008-libgcc-disable-split-stack-nothreads.patch index df91a9ff..df91a9ff 100644 --- a/packages/gcc/9.2.0/0008-libgcc-disable-split-stack-nothreads.patch +++ b/packages/gcc/9.3.0/0008-libgcc-disable-split-stack-nothreads.patch diff --git a/packages/gcc/9.2.0/0009-bionic-ndk.patch b/packages/gcc/9.3.0/0009-bionic-ndk.patch index 090172da..090172da 100644 --- a/packages/gcc/9.2.0/0009-bionic-ndk.patch +++ b/packages/gcc/9.3.0/0009-bionic-ndk.patch diff --git a/packages/gcc/9.2.0/0010-crystax.patch b/packages/gcc/9.3.0/0010-crystax.patch index 9d66c74d..8ac327af 100644 --- a/packages/gcc/9.2.0/0010-crystax.patch +++ b/packages/gcc/9.3.0/0010-crystax.patch @@ -157,12 +157,14 @@ Date: Wed Jul 29 11:28:29 2015 +0300 #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h -@@ -1856,10 +1856,11 @@ enum arm_auto_incmodes +@@ -1856,12 +1856,13 @@ enum arm_auto_incmodes + + #define CASE_VECTOR_PC_RELATIVE ((TARGET_THUMB2 \ + || (TARGET_THUMB1 \ ++ && !inline_thumb1_jump_table \ + && (optimize_size || flag_pic))) \ + && (!target_pure_code)) - #define CASE_VECTOR_PC_RELATIVE (TARGET_THUMB2 \ - || (TARGET_THUMB1 \ -+ && !inline_thumb1_jump_table \ - && (optimize_size || flag_pic))) #define CASE_VECTOR_SHORTEN_MODE(min, max, body) \ - (TARGET_THUMB1 \ @@ -172,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 -@@ -8894,7 +8894,7 @@ +@@ -8920,7 +8920,7 @@ (match_operand:SI 2 "const_int_operand" "") ; total range (match_operand:SI 3 "" "") ; table label (match_operand:SI 4 "" "")] ; Out of range label @@ -450,7 +452,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300 #if ((defined(_LIBOBJC) || defined(_LIBOBJC_WEAK)) \ --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure -@@ -78742,6 +78742,18 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ +@@ -78982,6 +78982,18 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ /* end confdefs.h. */ #include <sys/syscall.h> int lk; diff --git a/packages/gcc/9.2.0/0011-crystax.patch b/packages/gcc/9.3.0/0011-crystax.patch index f1f9eb12..f1f9eb12 100644 --- a/packages/gcc/9.2.0/0011-crystax.patch +++ b/packages/gcc/9.3.0/0011-crystax.patch diff --git a/packages/gcc/9.2.0/0012-crystax.patch b/packages/gcc/9.3.0/0012-crystax.patch index 7edf1283..1363d296 100644 --- a/packages/gcc/9.2.0/0012-crystax.patch +++ b/packages/gcc/9.3.0/0012-crystax.patch @@ -112,7 +112,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700 --- a/gcc/configure +++ b/gcc/configure -@@ -985,6 +985,7 @@ enable_fix_cortex_a53_835769 +@@ -986,6 +986,7 @@ enable_fix_cortex_a53_835769 enable_fix_cortex_a53_843419 with_glibc_version enable_gnu_unique_object @@ -120,7 +120,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700 enable_linker_build_id enable_libssp enable_default_ssp -@@ -1736,6 +1737,9 @@ Optional Features: +@@ -1737,6 +1738,9 @@ Optional Features: --enable-gnu-unique-object enable the use of the @gnu_unique_object ELF extension on glibc systems @@ -130,7 +130,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 -@@ -28348,6 +28352,38 @@ if test x"$gcc_cv_ld_eh_frame_hdr" = xye +@@ -28349,6 +28353,38 @@ if test x"$gcc_cv_ld_eh_frame_hdr" = xye $as_echo "#define HAVE_LD_EH_FRAME_HDR 1" >>confdefs.h diff --git a/packages/gcc/9.2.0/0013-crystax.patch b/packages/gcc/9.3.0/0013-crystax.patch index ec5f5bd3..e7fdd6e1 100644 --- a/packages/gcc/9.2.0/0013-crystax.patch +++ b/packages/gcc/9.3.0/0013-crystax.patch @@ -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 -@@ -15618,6 +15618,7 @@ legitimate_pic_address_disp_p (rtx disp) +@@ -15635,6 +15635,7 @@ legitimate_pic_address_disp_p (rtx disp) else if (!SYMBOL_REF_FAR_ADDR_P (op0) && (SYMBOL_REF_LOCAL_P (op0) || (HAVE_LD_PIE_COPYRELOC diff --git a/packages/gcc/9.2.0/0014-crystax.patch b/packages/gcc/9.3.0/0014-crystax.patch index 5acc6b91..5acc6b91 100644 --- a/packages/gcc/9.2.0/0014-crystax.patch +++ b/packages/gcc/9.3.0/0014-crystax.patch diff --git a/packages/gcc/9.2.0/0015-crystax.patch b/packages/gcc/9.3.0/0015-crystax.patch index 2b51260d..a0bad242 100644 --- a/packages/gcc/9.2.0/0015-crystax.patch +++ b/packages/gcc/9.3.0/0015-crystax.patch @@ -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 -@@ -22781,9 +22781,13 @@ arm_print_operand (FILE *stream, rtx x, +@@ -22862,9 +22862,13 @@ arm_print_operand (FILE *stream, rtx x, memsize = MEM_SIZE (x); /* Only certain alignment specifiers are supported by the hardware. */ diff --git a/packages/gcc/9.2.0/0016-crystax.patch b/packages/gcc/9.3.0/0016-crystax.patch index 8c21a1cc..8c21a1cc 100644 --- a/packages/gcc/9.2.0/0016-crystax.patch +++ b/packages/gcc/9.3.0/0016-crystax.patch diff --git a/packages/gcc/9.2.0/0017-crystax.patch b/packages/gcc/9.3.0/0017-crystax.patch index 1a46aed3..1a46aed3 100644 --- a/packages/gcc/9.2.0/0017-crystax.patch +++ b/packages/gcc/9.3.0/0017-crystax.patch diff --git a/packages/gcc/9.2.0/0018-isl-0.20.patch b/packages/gcc/9.3.0/0018-isl-0.20.patch index de188b14..de188b14 100644 --- a/packages/gcc/9.2.0/0018-isl-0.20.patch +++ b/packages/gcc/9.3.0/0018-isl-0.20.patch diff --git a/packages/gcc/9.3.0/chksum b/packages/gcc/9.3.0/chksum new file mode 100644 index 00000000..a573c29d --- /dev/null +++ b/packages/gcc/9.3.0/chksum @@ -0,0 +1,8 @@ +md5 gcc-9.3.0.tar.xz d00a144b771ddeb021b61aa205b7e345 +sha1 gcc-9.3.0.tar.xz b746688bf045a316fc92c3528138ad10d0822b6b +sha256 gcc-9.3.0.tar.xz 71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1 +sha512 gcc-9.3.0.tar.xz 4b9e3639eef6e623747a22c37a904b4750c93b6da77cf3958d5047e9b5ebddb7eebe091cc16ca0a227c0ecbd2bf3b984b221130f269a97ee4cc18f9cf6c444de +md5 gcc-9.3.0.tar.gz 9b7e8f6cfad96114e726c752935af58a +sha1 gcc-9.3.0.tar.gz d93d8950229b23d7e7c5cd0037fb4a51e3ce3a19 +sha256 gcc-9.3.0.tar.gz 5258a9b6afe9463c2e56b9e8355b1a4bee125ca828b8078f910303bc2ef91fa6 +sha512 gcc-9.3.0.tar.gz 3e9b865354a4306b33b1dd90b58c230120d668b3e26bd4369967e84ff00adbbfb822a0ade340fdd248dbd07bcf326b262060873339bfc5b4c3773ad1be88ab33 diff --git a/packages/gcc/9.2.0/version.desc b/packages/gcc/9.3.0/version.desc index e69de29b..e69de29b 100644 --- a/packages/gcc/9.2.0/version.desc +++ b/packages/gcc/9.3.0/version.desc |