[sanitizer] GetTls: work around ppc64 with glibc<2.25(?) or GNU ld 2.30
authorFangrui Song <i@maskray.me>
Fri, 16 Apr 2021 21:03:28 +0000 (14:03 -0700)
committerFangrui Song <i@maskray.me>
Fri, 16 Apr 2021 21:03:28 +0000 (14:03 -0700)
commit08843a0c3f3ee572633b8ed8dda9dbacae9dd520
tree79eb587195fe6cc54ee30db806a055097abfe2d0
parentbb0e1ae7c4170b18247e5c7c226ed29689d552a5
[sanitizer] GetTls: work around ppc64 with glibc<2.25(?) or GNU ld 2.30

GNU ld 2.26 and GNU ld 2.31 seem fine but GNU ld 2.30 has mysterious
segfaults linking msan tests.
compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp