[U-Boot] efi_loader: correctly apply relocations from the .reloc section

Alexander Graf agraf at suse.de
Thu May 3 07:45:16 UTC 2018


> Instead of difference between preferred and actual image base, the
> actual base is added to the fields specified in the .reloc section.
> 
> Use ImageBase from PE optional header to compute the delta,
> exit early if the image is loaded at the preferred address.
> 
> Signed-off-by: Ivan Gorinov <ivan.gorinov at intel.com>
> Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

Thanks, applied to efi-next

Alex



More information about the U-Boot mailing list