freebsd-src/lib/libthr
Brooks Davis 49d684369c libthr: filter rather than link with libsys
The allows gcc + GNU ld to link programs with -m32 -pthread without
erroring out due to _umtx_op_err being undefined (unless -lsys is added
to the link command.

We now always link _umtx_op_err into libthr (not just when it's static)
and filter it with libsys so we call that implementation.  The dynamic
implementations (at least the assembly ones) should likely become stubs
as a further refinement.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D43783
2024-02-07 19:50:47 +00:00
..
arch libthr: move _umtx_op_err() to libsys 2024-02-05 20:34:56 +00:00
sys Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tests lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
thread libthr: move _umtx_op_err() to libsys 2024-02-05 20:34:56 +00:00
libthr.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
Makefile libthr: filter rather than link with libsys 2024-02-07 19:50:47 +00:00
Makefile.depend dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
plockstat.d Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
pthread.map libthr: filter rather than link with libsys 2024-02-07 19:50:47 +00:00