aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorLulu Cai <cailulu@loongson.cn>2024-12-03 19:37:26 +0800
committerliuzhensong <liuzhensong@loongson.cn>2024-12-03 19:52:35 +0800
commiteb06e396416de9a609bf4adfdb9823ab2c8a395c (patch)
treeeda7701a014d1b0bfe240d1984d089ede19c2f3f /gdb/testsuite/gdb.python
parent6da184277006a211c7b18a7ad3ae918d372d3da2 (diff)
downloadbinutils-eb06e396416de9a609bf4adfdb9823ab2c8a395c.zip
binutils-eb06e396416de9a609bf4adfdb9823ab2c8a395c.tar.gz
binutils-eb06e396416de9a609bf4adfdb9823ab2c8a395c.tar.bz2
LoongArch: Fix the infinite loop caused by calling undefweak symbol
The undefweak symbol value of non-default visibility is 0 and does not use plt entry, and will not be relocated in the relocate_secion function. As a result, an infinite loop is generated because bl %plt(sym) => bl 0. Fix this by converting the call into a jump address 0.
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions