commit | 509dbc2bf167f9afb42d8b20200b529acc0d1ee9 | [log] [tgz] |
---|---|---|
author | Maciej W. Rozycki <macro@orcam.me.uk> | Sat Jul 12 01:25:53 2025 +0100 |
committer | Maciej W. Rozycki <macro@orcam.me.uk> | Sat Jul 12 01:25:53 2025 +0100 |
tree | 488284de7d9cb20d4cb37b718411c21a8e3b70cd | |
parent | 31b86e2ff93fb0de25ea1107625de415b8c7b649 [diff] |
MIPS/BFD: Use helper function for LO relocation sign-extension A calculation for LO relocations has been recently fixed with commit ce08b3bb19b3 ("MIPS/BFD: Fix RELA handling of borrow in the generic linker"), however it was missed that for the updated arithmetic we already have a helper function available, `_bfd_mips_elf_sign_extend'. Replace the open-coded statement then with an equivalent call to said function. No functional change.