efi: Fix arm relocation_func under new efi libraries

Change-Id: Ib829448131cfe7fbaf820bb93a789248af00b428
This commit is contained in:
Alexander von Gluck IV
2020-01-20 19:13:19 -06:00
parent 1aab1c0e28
commit 58bf3f3628
@@ -35,13 +35,13 @@
*/
#include <efi/types.h>
#include <efilib.h>
#include <efi/system-table.h>
#include <elf.h>
efi_status _relocate(long ldbase, Elf32_Dyn *dyn,
efi_handle image EFI_UNUSED,
efi_system_table *systab EFI_UNUSED)
efi_handle image __attribute__((__unused__)),
efi_system_table *systab __attribute__((__unused__)))
{
long relsz = 0, relent = 0;
Elf32_Rel *rel = 0;