From 492d55fa46087d82cd54ba6286fbff9a1f77ebad Mon Sep 17 00:00:00 2001 From: Michael Walle Date: Fri, 3 Jul 2020 23:26:20 +0200 Subject: [PATCH] libpayload: arm64: fix OUTPUT_ARCH() There is no bfd "arm64". The correct bfdname is "aarch64". Fix it. With this change libpayload will build with the AArch64 GCC. Change-Id: If7a6b14691107c5d4fc67c3cd3990ecc849d4af1 Signed-off-by: Michael Walle Reviewed-on: https://review.coreboot.org/c/coreboot/+/43125 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- payloads/libpayload/arch/arm64/libpayload.ldscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/libpayload/arch/arm64/libpayload.ldscript b/payloads/libpayload/arch/arm64/libpayload.ldscript index 8ebafce9fa..f9fb771da6 100644 --- a/payloads/libpayload/arch/arm64/libpayload.ldscript +++ b/payloads/libpayload/arch/arm64/libpayload.ldscript @@ -28,7 +28,7 @@ */ OUTPUT_FORMAT("elf64-littleaarch64","elf64-littleaarch64", "elf64-littleaarch64") -OUTPUT_ARCH(arm64) +OUTPUT_ARCH(aarch64) ENTRY(_entry)