aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorLulu Cai <cailulu@loongson.cn>2024-09-30 16:08:59 +0800
committerliuzhensong <liuzhensong@loongson.cn>2024-10-17 21:01:52 +0800
commit4cb77761d68791aa3fd9e7c0ec37fce86a4661f3 (patch)
tree4f42397fc534c700475a7b6134742985fade00d6 /gdb
parent7721dcad5c61b0ba7cc673958ae06315dc2ffa28 (diff)
downloadbinutils-4cb77761d68791aa3fd9e7c0ec37fce86a4661f3.zip
binutils-4cb77761d68791aa3fd9e7c0ec37fce86a4661f3.tar.gz
binutils-4cb77761d68791aa3fd9e7c0ec37fce86a4661f3.tar.bz2
LoongArch: Check PC-relative relocations for shared libraries
Building shared libraries should not be allowed for PC-relative relocations against external symbols. Currently LoongArch has no corresponding checks and silently generates wrong shared libraries. However, In the first version of the medium cmodel, pcalau12i+jirl was used for function calls, in which case PC-relative relocations were allowed.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions