toolchain: add support for GCC 12
authorRui Salvaterra <rsalvaterra@gmail.com>
Fri, 6 May 2022 14:42:06 +0000 (15:42 +0100)
committerPaul Spooren <mail@aparcar.org>
Wed, 1 Jun 2022 12:59:49 +0000 (14:59 +0200)
commitc4bd303086012afe2aebd213c892363512138bb7
treeb8d78ba52ead2356d7af766d802f1524a73d0c08
parent8885cf88279fd131c163d0ac34aeeef0bbff0ceb
toolchain: add support for GCC 12

GCC 12.1 is out. Add support for it.

Deleted (upstreamed):
011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch
931-libffi-fix-MIPS-softfloat-build-issue.patch

Deleted (unneeded?)
970-macos_arm64-building-fix.patch

Other patches manually rebased due to C++ conversion and consequent file name
changing (.c to .cc).

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
20 files changed:
toolchain/gcc/Config.in
toolchain/gcc/Config.version
toolchain/gcc/common.mk
toolchain/gcc/patches/12.1.0/002-case_insensitive.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/010-documentation.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/110-Fix-MIPS-PR-84790.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/230-musl_libssp.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/300-mips_Os_cpu_rtx_cost_model.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/810-arm-softfloat-libgcc.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/820-libgcc_pic.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/840-armv4_pass_fix-v4bx_to_ld.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/850-use_shared_libgcc.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/851-libgcc_no_compat.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/870-ppc_no_crtsavres.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/881-no_tm_section.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/900-bad-mips16-crt.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/910-mbsd_multi.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/920-specs_nonfatal_getenv.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/960-gotools-fix-compilation-when-making-cross-compiler.patch [new file with mode: 0644]
toolchain/gcc/patches/12.1.0/970-macos_arm64-building-fix.patch [new file with mode: 0644]