diff options
author | Alexander Graf <agraf@suse.de> | 2016-08-18 21:45:18 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-20 18:03:27 (GMT) |
commit | b1237c6e8afa3f112128a886faed152e65def3fd (patch) | |
tree | 7f0b8cf20000d71583e586d59704c3ab5c4e4012 /dts | |
parent | 68a2fd43578ca2f5a533f253df86f2f688e3b299 (diff) | |
download | u-boot-b1237c6e8afa3f112128a886faed152e65def3fd.tar.xz |
efi_loader: Fix relocations above 64kb image size
We were truncating the image offset within the target image to 16 bits
which again meant that we were potentially overwriting random memory
in the lower 16 bits of the image.
This patch casts the offset to a more reasonable 32bits.
With this applied, I can successfully see Shell.efi assert because it
can't find a protocol it expects to be available.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions