]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: fix relocation on x86_64
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 14 Oct 2018 03:52:08 +0000 (20:52 -0700)
committerAlexander Graf <agraf@suse.de>
Tue, 16 Oct 2018 13:29:15 +0000 (15:29 +0200)
commited6b77c49b2c9fe5aa191b260dde419bd1b638aa
tree885ca66e3a63f3bc5edfe6282f1d1023a7f5ff46
parent1ed83c54132107c35863ab932a17630172d6a73b
efi_loader: fix relocation on x86_64

Currently the relocation of the EFI runtime on x86_64 fails. This renders
the EFI subsystem unusable. The ELF relocation records for x86_64 contain
an addend field.

Always write the function name into error messages related to the EFI
runtime relocation.

Break an excessively long line.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_runtime.c