HomeFreeBSD

Fix wrong offset calculation for R_ARM_TLS_TPOFF32 relocations.

Description

Fix wrong offset calculation for R_ARM_TLS_TPOFF32 relocations.
TLS_TCB_SIZE is already accounted in defobj-> tlsoffset so all these symbols
were incorrectly relocated by +8.

Note:
The only consumer (for all binaries on my ARM board) of R_ARM_TLS_TPOFF32
relocation is _ThreadRuneLocale variable. And the incorrectly relocated
ThreadRuneLocale accidentally pointed to zeroed memory before memory layout
change from D16510 had changed status quo.

MFC after: 3 weeks
Reviewed by: imp, jhb
Approved by: re (marius)

Details

Provenance
mmelAuthored on
Reviewer
imp
Parents
rS338316: Speed up vt(4) by keeping a record of the most recently drawn character and
Branches
Unknown
Tags
Unknown