diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-11-04 22:37:12 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-11-04 22:37:12 +0000 |
commit | 39178e83208513117241da885ef83e20ccbe2a44 (patch) | |
tree | 90b9fc53d6989a0e9006d1e743f9456eb2ce9877 | |
parent | 8.3.0: cut 3 patchset (diff) | |
download | gcc-patches-39178e83208513117241da885ef83e20ccbe2a44.tar.gz gcc-patches-39178e83208513117241da885ef83e20ccbe2a44.tar.bz2 gcc-patches-39178e83208513117241da885ef83e20ccbe2a44.zip |
8.3.0: disable riscv32 ABIs
Currently glibc does not support riscv32.
Bug: https://gcc.gnu.org/PR90419
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r-- | 8.3.0/gentoo/32_all_disable-riscv32-ABIs.patch | 28 | ||||
-rw-r--r-- | 8.3.0/gentoo/README.history | 3 |
2 files changed, 31 insertions, 0 deletions
diff --git a/8.3.0/gentoo/32_all_disable-riscv32-ABIs.patch b/8.3.0/gentoo/32_all_disable-riscv32-ABIs.patch new file mode 100644 index 0000000..52476e6 --- /dev/null +++ b/8.3.0/gentoo/32_all_disable-riscv32-ABIs.patch @@ -0,0 +1,28 @@ +https://gcc.gnu.org/PR90419 + +--- gcc-8.3.0.orig/gcc/config/riscv/t-linux-multilib 2017-02-06 22:38:37.000000000 +0100 ++++ gcc-8.3.0/gcc/config/riscv/t-linux-multilib 2019-04-28 16:37:44.377841943 +0200 +@@ -20,21 +20,9 @@ + ilp32d \ + lp64 \ + lp64d +-MULTILIB_REQUIRED = march=rv32imac/mabi=ilp32 \ +-march=rv32imafdc/mabi=ilp32d \ +-march=rv64imac/mabi=lp64 \ ++MULTILIB_REQUIRED = march=rv64imac/mabi=lp64 \ + march=rv64imafdc/mabi=lp64d +-MULTILIB_REUSE = march.rv32imac/mabi.ilp32=march.rv32ima/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imaf/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafd/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafc/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafdc/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32g/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32gc/mabi.ilp32 \ +-march.rv32imafdc/mabi.ilp32d=march.rv32imafd/mabi.ilp32d \ +-march.rv32imafdc/mabi.ilp32d=march.rv32gc/mabi.ilp32d \ +-march.rv32imafdc/mabi.ilp32d=march.rv32g/mabi.ilp32d \ +-march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \ ++MULTILIB_REUSE = march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imaf/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imafd/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imafc/mabi.lp64 \ diff --git a/8.3.0/gentoo/README.history b/8.3.0/gentoo/README.history index 94ff87a..6ede7c5 100644 --- a/8.3.0/gentoo/README.history +++ b/8.3.0/gentoo/README.history @@ -1,3 +1,6 @@ +4 TODO + + 32_all_disable-riscv32-ABIs.patch + 3 04 Not 2019 - 30_all_sparc-PIC-constant-PR91472.patch |