freebsd-skq/libexec/rtld-elf/riscv
jhb 80e05761c1 Correct the offset of static TLS variables for Initial-Exec on RISC-V.
TP points to the start of the TLS block after the tcb, but
Obj_Entry.tlsoffset includes the tcb, so subtract the size of the tcb
to compute the offset relative to TP.

This is identical to the same fixes for powerpc in r339072 and r342671.

Reviewed by:	James Clarke
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D22661
2019-12-10 21:56:44 +00:00
..
reloc.c Correct the offset of static TLS variables for Initial-Exec on RISC-V. 2019-12-10 21:56:44 +00:00
rtld_machdep.h Rework rtld's TLS Variant I implementation to match r326794 2018-09-05 23:23:16 +00:00
rtld_start.S Save and restore floating-point arguments. 2018-08-02 12:21:39 +00:00