]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Fix the behavior for multilib-generator with --cmodel=large on rv32
authorKito Cheng <kito.cheng@sifive.com>
Thu, 10 Apr 2025 08:58:49 +0000 (16:58 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Thu, 10 Apr 2025 09:10:22 +0000 (17:10 +0800)
commitfb0653a0e54203eeb9ff399aee93ed904030b4bd
tree20e2fc6c1da8df947292b1e454530bc6f5ba552a
parent8406aec4ff09c55d521d6b0ac43b8ba43c68375a
RISC-V: Fix the behavior for multilib-generator with --cmodel=large on rv32

Large code model is only supported on RV64, so we don't need to
generate the multilibs for RV32 with --cmodel=large. And the compact
code model is something we don't supported on upstream (which is
accidentally added in the past), so we need to remove it.

gcc/ChangeLog:

* config/riscv/multilib-generator: Remove the compact code model
and check large code model for RV32.

(cherry picked from commit 72dff34bcdd6f05b64bbf07739ab815e673b5946)
gcc/config/riscv/multilib-generator