From 7600764f174079a7a6bed9709439148ad0ab8545 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 23 Jun 2021 21:48:14 -0400 Subject: [PATCH] add gcc 8.x patch for powerpc-spe support gcc 8 split this out into a separate config dir, but the files there are old bitrotted ones without musl support. --- patches/gcc-8.5.0/0020-powerpcspe.diff | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/gcc-8.5.0/0020-powerpcspe.diff diff --git a/patches/gcc-8.5.0/0020-powerpcspe.diff b/patches/gcc-8.5.0/0020-powerpcspe.diff new file mode 100644 index 0000000..e494d68 --- /dev/null +++ b/patches/gcc-8.5.0/0020-powerpcspe.diff @@ -0,0 +1,11 @@ +--- gcc-8.3.0/gcc/config.gcc.orig 2021-06-23 21:46:44.400306941 -0400 ++++ gcc-8.3.0/gcc/config.gcc 2021-06-23 21:46:55.459427459 -0400 +@@ -2479,7 +2479,7 @@ + extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt" + tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm" + ;; +-powerpc*-*-linux*spe*) ++powerpc*-*-linux*gnu*spe*) + tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h freebsd-spec.h powerpcspe/sysv4.h" + extra_options="${extra_options} powerpcspe/sysv4.opt" + tmake_file="${tmake_file} powerpcspe/t-fprules powerpcspe/t-ppccomm"