freebsd-dev/libexec/rtld-elf
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
..
aarch64 Revert r337978: Rework rtld's TLS Variant I implementation to match r326794 2018-08-21 18:22:12 +00:00
amd64 o Let rtld(1) set up psABI user trap handlers prior to executing the 2018-02-03 23:14:11 +00:00
arm Fix wrong offset calculation for R_ARM_TLS_TPOFF32 relocations. 2018-08-25 16:54:37 +00:00
i386 o Let rtld(1) set up psABI user trap handlers prior to executing the 2018-02-03 23:14:11 +00:00
mips Revert r337978: Rework rtld's TLS Variant I implementation to match r326794 2018-08-21 18:22:12 +00:00
powerpc Revert r337978: Rework rtld's TLS Variant I implementation to match r326794 2018-08-21 18:22:12 +00:00
powerpc64 Revert r337978: Rework rtld's TLS Variant I implementation to match r326794 2018-08-21 18:22:12 +00:00
riscv Revert r337978: Rework rtld's TLS Variant I implementation to match r326794 2018-08-21 18:22:12 +00:00
sparc64 o Let rtld(1) set up psABI user trap handlers prior to executing the 2018-02-03 23:14:11 +00:00
tests Fix regression tests broken by r337067. 2018-08-02 11:55:16 +00:00
debug.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
debug.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
libmap.c Plug memory leak on error case. 2017-10-29 12:07:27 +00:00
libmap.h
Makefile Make rtld use libc_nossp_pic.a. Remove SSP shims. 2018-05-09 10:30:56 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
malloc.c Make sure the rtld(1) error messages go to stderr, not stdout. 2018-08-02 07:43:28 +00:00
map_object.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
paths.h Make sure the rtld(1) error messages go to stderr, not stdout. 2018-08-02 07:43:28 +00:00
rtld_lock.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
rtld_lock.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
rtld_printf.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rtld_printf.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
rtld_tls.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
rtld_utrace.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rtld.1 Add serial comma. 2017-09-01 16:56:37 +00:00
rtld.c Revert r337978: Rework rtld's TLS Variant I implementation to match r326794 2018-08-21 18:22:12 +00:00
rtld.h o Let rtld(1) set up psABI user trap handlers prior to executing the 2018-02-03 23:14:11 +00:00
Symbol.map Add rtld private interface for dso to detect dynamic loading 2015-01-03 18:09:53 +00:00
xmalloc.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00