https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217845
Bug ID: 217845
Summary: Replace SOFTFLOAT tests with __mips_soft_float, which
gcc/clang define for us.
Product: Base System
Version: CURRENT
Hardware: mips
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 180878
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180878&action=edit
Replace SOFTFLOAT tests with __mips_soft_float, which gcc/clang define for us.
Replace SOFTFLOAT tests with __mips_soft_float, which gcc/clang define for us.
base r308130 (review D8376) extended softfloat/hardfloat support, but used a
macro that never actually gets set except in libc and msun's Makefile.inc. So
libc and libm got 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.
Using __mips_soft_float is better, since it's a compiler-internal macro that is
always set correctly for the target.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"