freebsd-skq/libexec/rtld-elf
Brooks Davis 17fb2856c3 Rework rtld's TLS Variant I implementation to match r326794
The above commit fixed handling overaligned TLS segments in libc's
TLS Variant I implementation, but rtld provides its own implementation
for dynamically-linked executables which lacks these fixes.  Thus,
port these changes to rtld.

This was previously commited as r337978 and reverted in r338149 due to
exposing a bug the ARM rtld.  This bug was fixed in r338317 by mmel.

Submitted by:	James Clarke
Approved by:	re (kib)
Reviewed by:	kbowling
Testing by:	kbowling (powerpc64), br (riscv), kevans (armv7)
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D16510
2018-09-05 23:23:16 +00:00
..
aarch64 Rework rtld's TLS Variant I implementation to match r326794 2018-09-05 23:23:16 +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 Rework rtld's TLS Variant I implementation to match r326794 2018-09-05 23:23:16 +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 Rework rtld's TLS Variant I implementation to match r326794 2018-09-05 23:23:16 +00:00
powerpc Rework rtld's TLS Variant I implementation to match r326794 2018-09-05 23:23:16 +00:00
powerpc64 Rework rtld's TLS Variant I implementation to match r326794 2018-09-05 23:23:16 +00:00
riscv Rework rtld's TLS Variant I implementation to match r326794 2018-09-05 23:23:16 +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 Style cleanup. No functional changes. 2018-09-02 15:42:37 +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
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 Rework rtld's TLS Variant I implementation to match r326794 2018-09-05 23:23:16 +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
xmalloc.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00