providing __tls_get_addr on s390?

Aurelien Jarno aurelien@aurel32.net
Sat Aug 31 14:10:00 GMT 2019


Dear all,

I have noticed that GCC recently started to use the
__tls_get_addr_internal symbol on s390 [1]. This is probably a bad
idea to use an internal libc symbol outside of the libc as it can be
modified or removed at anytime.

That said, I also noticed that s390 is (one of the) only architectures
which doesn't provide __tls_get_addr. Is there a reason for that? Is it
something that we should fix?

Thanks,
Aurelien

[1] https://gcc.gnu.org/viewcvs/gcc/trunk/libphobos/libdruntime/gcc/sections/elf_shared.d?r1=270522&r2=270523

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net



More information about the Libc-alpha mailing list