Hi, Max Filippov wrote,
TLS_LD should use linker-provided symbol _TLS_MODULE_BASE_ instead of symbol it resolves to get thread pointer, otherwise linker relaxation doesn't work correctly, adding extra offset to thread-local variable address.
This fixes most of tls/tst-tls* tests.
Right. Tested and applied.
best regards Waldemar