Re: [PATCH] riscv: fix computation of pc-relative relocation offset

2019-07-11 Thread Daniel Kiper
On Tue, Jul 09, 2019 at 07:06:45AM +, Chester Lin wrote: > On Wed, Jun 26, 2019 at 16:50:03 +0200, Andreas Schwab wrote: > > The offset calculation was missing the relocation addend. > > > > Signed-off-by: Andreas Schwab > > --- > > util/grub-mkimagexx.c | 4 ++-- > > 1 file changed, 2 insert

Re: [PATCH] riscv: fix computation of pc-relative relocation offset

2019-07-09 Thread Chester Lin
On Wed, Jun 26, 2019 at 16:50:03 +0200, Andreas Schwab wrote: > The offset calculation was missing the relocation addend. > > Signed-off-by: Andreas Schwab > --- > util/grub-mkimagexx.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/util/grub-mkimagexx.c b/util/gru

[PATCH] riscv: fix computation of pc-relative relocation offset

2019-06-26 Thread Andreas Schwab
The offset calculation was missing the relocation addend. Signed-off-by: Andreas Schwab --- util/grub-mkimagexx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/grub-mkimagexx.c b/util/grub-mkimagexx.c index bc087c2b5..d16ec63a1 100644 --- a/util/grub-mkimagexx.c ++