summaryrefslogtreecommitdiff
path: root/test/tls/tls-macros-xtensa.h
AgeCommit message (Collapse)Author
4 daysxtensa: add FDPIC-specific TLS macro variantsMax Filippov
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2022-03-10xtensa: fix variable reference in TLS_LDWaldemar Brodkorb
Use @DTPOFF instead of @TPOFF in TLS_LD as specified by the xtensa ABI. DTPOFF produces variable offset relative to the variable's module TLS block, it's the linker's job to replace it with TPOFF and adjust surrounding code when the object file is linked into an executable. This fixes tests tls/tst-tls[123] on xtensa that fail if built as PIE. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-10-24add uClibc-ng test directoryWaldemar Brodkorb