mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
With SOFTFLOAT, libc and libm were built correctly, but any program including fenv.h itself assumed it was on a hardfloat systen and emitted inline fpu instructions for fedisableexcept() and friends. Unlike r315424 which did this for MIPS, I've used riscv_float_abi_soft and riscv_float_abi_double macros as appropriate rather than using __riscv_float_abi_soft exclusively. This ensures that attempts to use an unsupported hardfloat ABI will fail. Reviewed by: br Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10039
4 lines
69 B
Makefile
4 lines
69 B
Makefile
# $FreeBSD$
|
|
|
|
LDBL_PREC = 113
|
|
SYM_MAPS += ${.CURDIR}/riscv/Symbol.map
|