]> git.ipfire.org Git - thirdparty/grub.git/commit
RISC-V: Fix computation of pc-relative relocation offset
authorAndreas Schwab <schwab@suse.de>
Wed, 26 Jun 2019 14:50:03 +0000 (16:50 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 11 Jul 2019 15:50:40 +0000 (17:50 +0200)
commit2bf40e9e5be9808b17852e688eead87acff14420
tree33392a9fca3df24fd230d7e83c0d69e8fa5592d3
parent2d55ffecbb966d3e42023729d8bbf3c21c59e049
RISC-V: Fix computation of pc-relative relocation offset

The offset calculation was missing the relocation addend.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Tested-by: Chester Lin <clin@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub-mkimagexx.c