RISC-V: Build soft-float divide routines for -mno-fdiv.
authorJim Wilson <jimw@sifive.com>
Fri, 1 Nov 2019 20:35:12 +0000 (20:35 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 1 Nov 2019 20:35:12 +0000 (13:35 -0700)
commit8dc56a2244cfe35cbdb53e0f586c16f90a2677e4
tree36b8771939940a546ff3d1b3be2e849fb2c83dd0
parent2df0c2315a21a05838c8015d27678d236f4d0cd4
RISC-V: Build soft-float divide routines for -mno-fdiv.

Using -mno-fdiv gives linker errors unless we build the missing divide
routines in libgcc always.  There is at least one university project
designing RISC-V parts without FP divide that wants to use the option.

libgcc/
* config/riscv/t-softfp32 (softfp_extra): Add FP divide routines

From-SVN: r277723
libgcc/ChangeLog
libgcc/config/riscv/t-softfp32