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
This commit is contained in:
Andrew Turner 2024-05-22 08:17:52 +00:00
parent 9f44638ef2
commit 8e82c5e28d

View File

@ -1,4 +1,4 @@
OUTPUT_FORMAT("elf64-aarch64", "elf64-aarch64", "elf64-aarch64")
OUTPUT_FORMAT("elf64-littleaarch64")
OUTPUT_ARCH(aarch64)
ENTRY(_start)
SECTIONS