aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.cc
diff options
context:
space:
mode:
authorLulu Cheng <chenglulu@loongson.cn>2024-01-23 11:28:09 +0800
committerLulu Cheng <chenglulu@loongson.cn>2024-01-25 15:37:23 +0800
commit0801a88af40e4bb41c240788a2365ca1e30e281a (patch)
tree48db0d1731ffe89b1d9e993b0c35de183353c892 /gcc/fold-const.cc
parent464de9c283f7f4717280c515a192e479d7a840a3 (diff)
downloadgcc-0801a88af40e4bb41c240788a2365ca1e30e281a.zip
gcc-0801a88af40e4bb41c240788a2365ca1e30e281a.tar.gz
gcc-0801a88af40e4bb41c240788a2365ca1e30e281a.tar.bz2
LoongArch: Disable TLS type symbols from generating non-zero offsets.
TLS gd ld and ie type symbols will generate corresponding GOT entries, so non-zero offsets cannot be generated. The address of TLS le type symbol+addend is not implemented in binutils, so non-zero offset is not generated here for the time being. gcc/ChangeLog: * config/loongarch/loongarch.cc (loongarch_symbolic_constant_p): For symbols of type tls, non-zero Offset is not generated.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions