diff options
author | Alexander Graf <agraf@suse.de> | 2016-08-18 23:45:18 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-20 14:03:27 -0400 |
commit | b1237c6e8afa3f112128a886faed152e65def3fd (patch) | |
tree | 7f0b8cf20000d71583e586d59704c3ab5c4e4012 /arch/arm/cpu/armv7 | |
parent | 68a2fd43578ca2f5a533f253df86f2f688e3b299 (diff) | |
download | u-boot-imx-b1237c6e8afa3f112128a886faed152e65def3fd.zip u-boot-imx-b1237c6e8afa3f112128a886faed152e65def3fd.tar.gz u-boot-imx-b1237c6e8afa3f112128a886faed152e65def3fd.tar.bz2 |
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 'arch/arm/cpu/armv7')
0 files changed, 0 insertions, 0 deletions