summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2024-08-21 13:46:32 +0200
committerArthur Heymans <arthur@aheymans.xyz>2024-08-27 00:27:55 +0000
commit8d900ae1bfe1def9b36d6393e1cbcc5dbd5bc350 (patch)
tree185babf4ce4a28b2fba68f8d82d0fdefd40967cf
parentbb233555e3f3a4c334ea3e36c5651cecfb1159cb (diff)
libpayload: Fix x86 output arch
The value used is not acceptable to BFD linker. Change-Id: I0f134a96c596d69e10dd441b96184b119e9f1908 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84013 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--payloads/libpayload/arch/x86/libpayload.ldscript2
1 files changed, 1 insertions, 1 deletions
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)