aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-01-31 17:09:44 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-01-31 17:09:44 +0000
commit2e8ef82b3418b41e7c54e2dbd16df0edb3cb8376 (patch)
treeda2ec78e5eceb1bc1792b37720d4648c1706f18e
parentb26a7af438f36dcde86f39a681123cc2140affb2 (diff)
stand: Use the correct OUTPUT_ARCH in the linker script for RISC-V
Compare to the OUTPUT_ARCH in sys/conf/ldscript.riscv. Reviewed by: mhorne Differential Revision: https://reviews.freebsd.org/D54962
-rw-r--r--stand/efi/loader/arch/riscv/riscv.ldscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/efi/loader/arch/riscv/riscv.ldscript b/stand/efi/loader/arch/riscv/riscv.ldscript
index 63b71c3bd702..1c585e7d59c6 100644
--- a/stand/efi/loader/arch/riscv/riscv.ldscript
+++ b/stand/efi/loader/arch/riscv/riscv.ldscript
@@ -1,5 +1,5 @@
OUTPUT_FORMAT("elf64-littleriscv", "elf64-littleriscv", "elf64-littleriscv")
-OUTPUT_ARCH(riscv64)
+OUTPUT_ARCH(riscv)
ENTRY(_start)
SECTIONS
{