LoongArch: Do not add DF_STATIC_TLS for TLS LE
commitd5e68872d0fd32a5ee28b292d97129baca6e66f7
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>
Thu, 28 Dec 2023 14:58:00 +0000 (28 23:58 +0900)
committerliuzhensong <liuzhensong@loongson.cn>
Mon, 22 Jan 2024 09:14:29 +0000 (22 17:14 +0800)
tree0626a78b39a30e7258f398c3d1d9f61243fc75a0
parent2ae49bc16fb00ce600da5b2bb503b6e9e3931fa4
LoongArch: Do not add DF_STATIC_TLS for TLS LE

TLS LE is exclusively for executables, while DF_STATIC_TLS is for DLLs.
DF_STATIC_TLS should only be set for TLS IE (and when it's DLL), not LE.
bfd/elfnn-loongarch.c