HomeFreeBSD

libc: Use struct tcb * rather than uintptr_t ** for the tcb

Description

libc: Use struct tcb * rather than uintptr_t ** for the tcb

This lets us access via named struct members rather than magic
hard-coded indices.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D50228

Details

Provenance
jrtc27Authored on May 7 2025, 7:20 PM
Reviewer
kib
Differential Revision
D50228: libc: Use struct tcb * rather than uintptr_t ** for the tcb
Parents
rG14c534eaef41: rtld-elf: Use variables more consistent with Variant I for Variant II TLS
Branches
Unknown
Tags
Unknown