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

(cherry picked from commit 23e0c0e9a3e0c73169c2aa90e26bb5cb35f1aa2f)

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
rGbd3afd52745a: mips: Rename TLS_DTP_OFFSET to TLS_DTV_OFFSET.
Branches
Unknown
Tags
Unknown