libphobos: Add D support for RISC-V Linux

Programming / Compilers / GCC - ibuclaw [138bc75d-0d04-0410-961f-82ee72b054a4] - 23 April 2019 22:53 EDT

2019-04-23 Iain Buclaw

- configure.tgt: Add riscv*-*-linux* as supported target.
- libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust dlpi_addr on RISCV32 and RISCV64.
- src/std/math.d: Add IEEE FPU control support for RISCV.

cf333d53930 libphobos: Add D support for RISC-V Linux
libphobos/ChangeLog | 7 ++++++
libphobos/configure.tgt | 3 +++
libphobos/libdruntime/gcc/sections/elf_shared.d | 14 ++++++++++-
libphobos/src/std/math.d | 33 +++++++++++++++++++++++++
4 files changed, 56 insertions(+), 1 deletion(-)

Upstream: gcc.gnu.org


  • Share