From 3b49957171c60b8c7b7d975f0f6fa3c1d4929652 Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Tue, 25 May 2021 21:40:07 +0200 Subject: [PATCH] Fix ARM64 relocation function unused attrs Similar to other architectures. --- src/system/boot/platform/efi/arch/arm64/relocation_func.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/boot/platform/efi/arch/arm64/relocation_func.cpp b/src/system/boot/platform/efi/arch/arm64/relocation_func.cpp index 6883886126..86f8f71c02 100644 --- a/src/system/boot/platform/efi/arch/arm64/relocation_func.cpp +++ b/src/system/boot/platform/efi/arch/arm64/relocation_func.cpp @@ -40,8 +40,8 @@ #include extern "C" efi_status _relocate (long ldbase, Elf64_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; Elf64_Rela *rel = 0;