From 8d900ae1bfe1def9b36d6393e1cbcc5dbd5bc350 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 21 Aug 2024 13:46:32 +0200 Subject: libpayload: Fix x86 output arch The value used is not acceptable to BFD linker. Change-Id: I0f134a96c596d69e10dd441b96184b119e9f1908 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/84013 Reviewed-by: Subrata Banik Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- payloads/libpayload/arch/x86/libpayload.ldscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/libpayload/arch') diff --git a/payloads/libpayload/arch/x86/libpayload.ldscript b/payloads/libpayload/arch/x86/libpayload.ldscript index 49c7e37f55..338840c38f 100644 --- a/payloads/libpayload/arch/x86/libpayload.ldscript +++ b/payloads/libpayload/arch/x86/libpayload.ldscript @@ -28,7 +28,7 @@ #if CONFIG(LP_ARCH_X86_64) OUTPUT_FORMAT(elf64-x86-64) -OUTPUT_ARCH(x86_64) +OUTPUT_ARCH(i386:x86-64) #else OUTPUT_FORMAT(elf32-i386) OUTPUT_ARCH(i386) -- cgit v1.2.3