git: 8e82c5e28db6 - main - stand/kboot: Fix the linker script OUTPUT_FORMAT

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Wed, 22 May 2024 08:31:57 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=8e82c5e28db6fb19f75d10fd2e7c3db784723f1f

commit 8e82c5e28db6fb19f75d10fd2e7c3db784723f1f
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-05-22 08:17:52 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-05-22 08:17:52 +0000

    stand/kboot: Fix the linker script OUTPUT_FORMAT
    
    ld.bfd doesn't understand elf64-aarch64 but does have
    elf64-littleaarch64. Switch to this so we can link kboot with it.
    
    While here switch to the single format version. We are unlikely to
    support booting from a big-endian Linux.
    
    Reviewed by:    imp, emaste
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D45258
---
 stand/kboot/kboot/arch/aarch64/aarch64.ldscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/kboot/kboot/arch/aarch64/aarch64.ldscript b/stand/kboot/kboot/arch/aarch64/aarch64.ldscript
index 9460be1874bf..dd551247125b 100644
--- a/stand/kboot/kboot/arch/aarch64/aarch64.ldscript
+++ b/stand/kboot/kboot/arch/aarch64/aarch64.ldscript
@@ -1,4 +1,4 @@
-OUTPUT_FORMAT("elf64-aarch64", "elf64-aarch64", "elf64-aarch64")
+OUTPUT_FORMAT("elf64-littleaarch64")
 OUTPUT_ARCH(aarch64)
 ENTRY(_start)
 SECTIONS