From 58bf3f36285144807711a5108148a74288d75ab2 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Mon, 20 Jan 2020 19:13:19 -0600 Subject: [PATCH] efi: Fix arm relocation_func under new efi libraries Change-Id: Ib829448131cfe7fbaf820bb93a789248af00b428 --- src/system/boot/platform/efi/arch/arm/relocation_func.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/system/boot/platform/efi/arch/arm/relocation_func.cpp b/src/system/boot/platform/efi/arch/arm/relocation_func.cpp index c0e4ee7b12..207b7fcd32 100644 --- a/src/system/boot/platform/efi/arch/arm/relocation_func.cpp +++ b/src/system/boot/platform/efi/arch/arm/relocation_func.cpp @@ -35,13 +35,13 @@ */ #include -#include +#include #include 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;