summaryrefslogtreecommitdiff
path: root/test/nptl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-03-10 12:56:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-03-10 12:56:38 +0100
commit728e1e0ea5adf1bd9b479e4edc456b637e26c031 (patch)
tree158c2fb613d5fd88524f7e837c8751a826dc60ac /test/nptl
parent0844445e7358eb10e716155b55b0fb23e88d644a (diff)
xtensa: fix variable reference in TLS_LD
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>
Diffstat (limited to 'test/nptl')
0 files changed, 0 insertions, 0 deletions