master
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@
Add support for timeconting in userland.
Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias dance, mark it protected. This works better for both gcc and clang: gcc blocks overriding of internal calls, while clang permits inlining again.
SYS___threxit cannot fail, but this integration looks like a gadget. Put a hard-trap instruction after the syscall instruction. ok kettenis mortimer
Eliminate cerror: use PAL_rdunique to get the TCB address directly
Make sure the syscall table entries are aligned on a 4-byte boundary. Required for strict-alignment architectures and a good idea on others.
Stop exporting the internal _mcount symbol as that's only referenced by the ASM stub, which is also in libc. The compiler only generates invocations of the latter.