HomeFreeBSD

mips: Add TLS_DTV_OFFSET to the result of tls_get_addr_common.

Description

mips: Add TLS_DTV_OFFSET to the result of tls_get_addr_common.

Previously TLS_DTV_OFFSET was added to the offset passed to
tls_get_addr_common; however, this approach matches powerpc and RISC-V
and better matches the intention.

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

Details

Provenance
jhbAuthored on Dec 9 2021, 9:16 PM
Reviewer
kib
Differential Revision
D33347: mips: Add TLS_DTV_OFFSET to the result of tls_get_addr_common.
Parents
rG03f6b141068e: mips: Rename TLS_DTP_OFFSET to TLS_DTV_OFFSET.
Branches
Unknown
Tags
Unknown