u-boot-brain/lib/efi_loader
Ivan Gorinov e2dc4229ad efi_loader: correctly apply relocations from the .reloc section
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@intel.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-06-03 15:27:20 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_bootmgr.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_boottime.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_console.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path_to_text.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path_utilities.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_disk.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_file.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_gop.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_image_loader.c efi_loader: correctly apply relocations from the .reloc section 2018-06-03 15:27:20 +02:00
efi_memory.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_net.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_runtime.c efi_loader: Enable RISC-V support 2018-05-29 14:43:12 +08:00
efi_smbios.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_variable.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_watchdog.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
helloworld.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig efi_loader: Enable RISC-V support 2018-05-29 14:43:12 +08:00
Makefile SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00