master
unbreak the build by including stddef.h for the definition of NULL fix suggested by and ok guenther@
Clear the sign bit in the QNAN constants used by strtof, strtod and strtold, so passing "nan" and "-nan" produces a NaN with the right sign. Bug reported and diff provided by George Koehler. ok kettenis@
remove unused __bswap16, __bswap32 MD functions from arm and aarch64
Fix the failing libm/rint regress test by adding ieee754 implementations for the rounding functions. Input from kettenis@, OK miod@
Uses angle brackets to include softfloat.h, and add the proper directory to CFLAGS. ok guenther@
Address the clang 13 "changed binding to STB_WEAK" warning on arm (32bit): * add _?ENTRY_NB to arm/asm.h * make sure ld.so's arm asm bits see the same includes as libc * switch libc's arm bits to the generic DEFS.h * switch arm ASM bits from ENTRY to ENTRY_NB as necessary
Use a consistent comment to explain why 32bit archs set their second return register to -1 in the syscall error path ("for lseek").
Save and restore the relevant FPU state on armv7.
Populate the non-LOAD openbsd.syscalls section (and PT_OPENBSD_SYSCALL) with {uint offset, uint syscall#} entries in libc & ld.so. In libc a few syscall# entries (break, sigprocmask, _tfork, _threxit) are duplicated because additional or inline uses occur (that situation is handled elsewhere) ok kettenis