diff options
author | Michal Meloun <mmel@FreeBSD.org> | 2018-08-25 16:54:37 +0000 |
---|---|---|
committer | Michal Meloun <mmel@FreeBSD.org> | 2018-08-25 16:54:37 +0000 |
commit | ee6281c3d385306e6b6a7cc272f122154d409cba (patch) | |
tree | 6a100cac9a930198a01a2aa5334221d8178beafc /sys/vm/uma.h | |
parent | ee97b2336aa47851a1dc5681ea2017cc2193aac4 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=338317
Diffstat (limited to 'sys/vm/uma.h')
0 files changed, 0 insertions, 0 deletions