freebsd-skq/lib/libthr/arch
Mitchell Horne 68b6aaa70d RISC-V: Fix an alignment warning in libthr
Compiling with clang gives a loss-of-alignment error due the cast to
uint8_t *. Since the TLS is always tcb aligned and TP_OFFSET is defined
as sizeof(struct tcb) we can guarantee there is no misalignment. Silence
the error by moving the offset into the inline assembly.

Reviewed by:	br
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D21926
2019-10-09 02:02:22 +00:00
..
aarch64 Fix initial exec TLS mode for dynamically loaded shared objects. 2019-03-29 17:52:57 +00:00
amd64 Fix initial exec TLS mode for dynamically loaded shared objects. 2019-03-29 17:52:57 +00:00
arm/include Fix initial exec TLS mode for dynamically loaded shared objects. 2019-03-29 17:52:57 +00:00
i386 Fix initial exec TLS mode for dynamically loaded shared objects. 2019-03-29 17:52:57 +00:00
mips/include Fix initial exec TLS mode for dynamically loaded shared objects. 2019-03-29 17:52:57 +00:00
powerpc Implement _umtx_op_err.S on powerpc / powerpc64. 2019-08-09 20:16:38 +00:00
riscv RISC-V: Fix an alignment warning in libthr 2019-10-09 02:02:22 +00:00
sparc64 Fix initial exec TLS mode for dynamically loaded shared objects. 2019-03-29 17:52:57 +00:00