HomeFreeBSD

- Emulate RDHWR instruction for TLS support
rS231312Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Emulate RDHWR instruction for TLS support

Reading register $29 with RDHWR is becoming the de-facto standard to
implement TLS. According to linux-mips wiki, MIPS Technologies has
reserved hardware register $29 for ABI use. Furthermore current GCC
makes the following assumptions:

  • RDHWR is natively available or otherwise emulated by the kernel
  • Register $29 holds the TLS pointer

Submitted by: Robert Millan <rmh@debian.org>

Details

Provenance
gonzoAuthored on
Parents
rS231311: Fix no-IPv6 kernels after r231207.
Branches
Unknown
Tags
Unknown

Event Timeline