aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorLulu Cai <cailulu@loongson.cn>2024-11-05 16:21:28 +0800
committerliuzhensong <liuzhensong@loongson.cn>2024-11-19 09:42:23 +0800
commit77bcfb741cbec8cadec7a0d450a32c8a5b161f23 (patch)
tree2c340a41d66881cf10c0b053c111124be4d4adb3 /gdb/ada-lang.c
parent0073bda2108b9d9b71a687a9fc17a3f5b455528f (diff)
downloadbinutils-77bcfb741cbec8cadec7a0d450a32c8a5b161f23.zip
binutils-77bcfb741cbec8cadec7a0d450a32c8a5b161f23.tar.gz
binutils-77bcfb741cbec8cadec7a0d450a32c8a5b161f23.tar.bz2
LoongArch: Do not relax pcalau12i+ld.d when there is overflow
There is no overflow check for the relaxation of pcalau12i+ld.d => pcalau12i+addi.d. For instruction sequences that can be relaxed, they are directly relaxed to pcalau12i+addi.d. However, when the relative distance between the symbol and the pc exceeds the 32-bit range, the symbol value cannot be obtained correctly. Adds an overflow check for the relaxation of pcalau12i+ld.d. If it is found that the relaxation will overflow, it will not be relaxed.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions