| commit | 156a2edbdbb94c197a992b218d482002aa727ce8 | [log] [tgz] |
|---|---|---|
| author | mengqinggang <mengqinggang@loongson.cn> | Wed Dec 27 11:12:30 2023 +0800 |
| committer | liuzhensong <liuzhensong@loongson.cn> | Fri Jan 12 15:38:42 2024 +0800 |
| tree | 5827cbe0644028e05c7a4ba9a446dd0e11334868 | |
| parent | 192781a39861a841b61c39d2536b2ac622aa0d73 [diff] |
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.