freebsd-dev/libexec/rtld-elf/arm
Michal Meloun ee6281c3d3 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)
2018-08-25 16:54:37 +00:00
..
Makefile.inc
reloc.c Fix wrong offset calculation for R_ARM_TLS_TPOFF32 relocations. 2018-08-25 16:54:37 +00:00
rtld_machdep.h Revert r337978: Rework rtld's TLS Variant I implementation to match r326794 2018-08-21 18:22:12 +00:00
rtld_start.S