aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-utils.c
diff options
context:
space:
mode:
authormengqinggang <mengqinggang@loongson.cn>2023-12-27 11:12:30 +0800
committerliuzhensong <liuzhensong@loongson.cn>2024-01-12 15:38:42 +0800
commit156a2edbdbb94c197a992b218d482002aa727ce8 (patch)
tree5827cbe0644028e05c7a4ba9a446dd0e11334868 /gdb/python/py-utils.c
parent192781a39861a841b61c39d2536b2ac622aa0d73 (diff)
downloadbinutils-156a2edbdbb94c197a992b218d482002aa727ce8.zip
binutils-156a2edbdbb94c197a992b218d482002aa727ce8.tar.gz
binutils-156a2edbdbb94c197a992b218d482002aa727ce8.tar.bz2
LoongArch: Fix relaxation overflow caused by section alignment
When deleting NOP instructions addend by .align at second pass, this may cause the PC decrease but the symbol address to remain unchanged due to section alignment. To solve this question, we subtract a maximux alignment of all sections like RISC-V.
Diffstat (limited to 'gdb/python/py-utils.c')
0 files changed, 0 insertions, 0 deletions