HomeFreeBSD

libthr: Use TLS_TCB_* in _tcb_[cd]tor.

Description

libthr: Use TLS_TCB_* in _tcb_[cd]tor.

This matches libc and rtld in using the alignment (TLS_TCB_ALIGN) from
machine/tls.h instead of hardcoding 16.

Reviewed by: kib
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D34023

Details

Provenance
jhbAuthored on Jan 25 2022, 7:38 PM
Reviewer
kib
Differential Revision
D34023: libthr: Use TLS_TCB_* in _tcb_[cd]tor.
Parents
rG42e51b158a94: Stop trying to strip 'eb' suffixes from ARM MACHINE_ARCH.
Branches
Unknown
Tags
Unknown