
12 Jun
2018
12 Jun
'18
7:52 p.m.
EFI image handle and system table are not used in _relocate().
Signed-off-by: Ivan Gorinov ivan.gorinov@intel.com --- arch/x86/lib/reloc_ia32_efi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/x86/lib/reloc_ia32_efi.c b/arch/x86/lib/reloc_ia32_efi.c index e838af3..49a0b94 100644 --- a/arch/x86/lib/reloc_ia32_efi.c +++ b/arch/x86/lib/reloc_ia32_efi.c @@ -12,8 +12,7 @@ #include <elf.h> #include <asm/elf.h>
-efi_status_t _relocate(long ldbase, Elf32_Dyn *dyn, efi_handle_t image, - struct efi_system_table *systab) +efi_status_t _relocate(long ldbase, Elf32_Dyn *dyn) { long relsz = 0, relent = 0; Elf32_Rel *rel = 0;
--
2.7.4