Re: [U-Boot] [PATCH] efi_loader: Handle RELA absolute relocations properly

2018-11-05 Thread Auer, Lukas
On Sun, 2018-11-04 at 22:28 +0100, Alexander Graf wrote: > With RELA absolute relocations, the relocation target contains our > link > offset which we need to remove from the equation again. We did this > properly in the relative relocation path, but not in the absolute > one. > > So let's do this

Re: [U-Boot] [PATCH] efi_loader: Handle RELA absolute relocations properly

2018-11-04 Thread Bin Meng
On Mon, Nov 5, 2018 at 5:28 AM Alexander Graf wrote: > > With RELA absolute relocations, the relocation target contains our link > offset which we need to remove from the equation again. We did this > properly in the relative relocation path, but not in the absolute one. > > So let's do this for t

[U-Boot] [PATCH] efi_loader: Handle RELA absolute relocations properly

2018-11-04 Thread Alexander Graf
With RELA absolute relocations, the relocation target contains our link offset which we need to remove from the equation again. We did this properly in the relative relocation path, but not in the absolute one. So let's do this for the absolute one as well. That way, u-boot can have a TEXT_OFFSET