t_fpclassify: Fix build properly without __HAVE_LONG_DOUBLE.
Centralize use of union ieee_ext_u, used on machines where double is
not the same as long double, so most of the long double code doesn't
need __HAVE_LONG_DOUBLE conditionals (reminder: __HAVE_LONG_DOUBLE
means long double is _larger_ than double, not just that long double
exists; long double always exists and should work either way).
PR standards/59336: C23: Annex F and math.h extensions
PR lib/59853: compiler-rt softfloat lacks floating-point exceptions
t_fpclassify: Revert previous -- __HAVE_LONG_DOUBLE is used wrongly.
__HAVE_LONG_DOUBLE being defined means long double is _different_
from double (typically 80-bit or 128-bit extended precision), and not
being defined means long double is the same as double.
Any code that uses ordinary long double arithmetic or long double
libm functions should work with or __HAVE_LONG_DOUBLE.
But without __HAVE_LONG_DOUBLE, we don't have things like union
ieee_ext_u for breaking apart the internal representation.
Will re-fix the build in a subsequent change coming up momentarily.
Conditionalize 802.11 support (hostapd, hostapd_cli, wlanctl, wpa_cli,
wpa_passphrase, wpa_supplicant, wiconfig, wlanctl, plus 802.11 support
in ifconfig) on MKWLAN, which defaults to "yes", except on m68000.
Build audio programs (aiomixer, audiocfg, audioctl, audioplay,audiorecord,
and hdaudioctl) conditionally on MKAUDIO, which defaults to "yes" except
on m68000 (no sun2 systems supported audio; the publicly-available copy
of the Sun2 architecture manual states that the sound generation feature
was removed from the system specification in Dec 1983).
Trim down sun2 installations with the following defaults:
MKBSDTAR.m68000?= no
MKDTC.m68000?= no
MKGROFF.m68000?= no
MKHESIOD.m68000?= no
MKHTML.m68000?= no
MKIPFILTER.m68000?= no
MKISCSI.m68000?= no
MKLDAP.m68000?= no
MKLVM.m68000?= no
MKNPF.m68000?= no
MKPOSTFIX.m68000?= no
MKRUMP.m68000?= no
MKUNBOUND.m68000?= no
fgen(1): reference the FCode docs
"Writing FCode 3.x Programs" and IEEE 1275-1994. Oracle still
provides the former, but I'm not sure how stable the URLs are, so
don't cite them. It's easy enough to find these if you know the name
of the books you are looking for.
tests/libexec/ld.elf_so/t_r_rel: Make sure helper is compiled as PIE.
Otherwise this test doesn't work: the whole point is to check for
relative relocations, which are only used in position-independent
code.
Should fix the test on platforms that don't do PIE by default like
alpha and sparc64.
PR bin/59360: ld.elf_so(8): missing RELR support
t_fpclassify: Fix long double mistakes.
1. Handle >64-bit long double with `union ieee_ext_u'.
2. Operationally verify the quiet vs signalling NaN bits.
3. xfail for softfloat and softfloat-long-double bugs on clang.
4. Print NaN encodings in hexadecimal to make diagnostics easier.
5. Add RCS id.
PR standards/59336: C23: Annex F and math.h extensions
PR lib/59853: compiler-rt softfloat lacks floating-point exceptions