| commit | 5c5e1e38a40083b695dd1e21c6d103a3c8e8a5ed | [log] [tgz] |
|---|---|---|
| author | Lulu Cai <cailulu@loongson.cn> | Tue Aug 26 17:19:47 2025 +0800 |
| committer | cailulu <cailulu@loongson.cn> | Tue Sep 02 11:02:33 2025 +0800 |
| tree | 6167000ffc873120c27091ca1e33ae40bf4dde31 | |
| parent | cb6580810b936c617eb36a94e1b851772d845228 [diff] |
LoongArch: Fix incorrect display of FDEs address ranges when using objdump -Wf When parsing FDEs in `.eh_frame` using `objdump -Wf`, it is necessary to resolve `BFD_RELOC_LARCH_32_PCREL` to determine the address ranges of the FDEs. Set the `pcrel_offset` field of `BFD_RELOC_LARCH_32_PCREL` to help `objdump` correctly compute the address ranges of the FDEs. Apply the same modification to BFD_RELOC_LARCH_64_PCREL.