diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-03-10 12:56:38 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-03-10 12:56:38 +0100 |
commit | 728e1e0ea5adf1bd9b479e4edc456b637e26c031 (patch) | |
tree | 158c2fb613d5fd88524f7e837c8751a826dc60ac /test/math/test-double-finite.c | |
parent | 0844445e7358eb10e716155b55b0fb23e88d644a (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/math/test-double-finite.c')
0 files changed, 0 insertions, 0 deletions