git: 2e8ef82b3418 - main - stand: Use the correct OUTPUT_ARCH in the linker script for RISC-V
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 17:21:28 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=2e8ef82b3418b41e7c54e2dbd16df0edb3cb8376
commit 2e8ef82b3418b41e7c54e2dbd16df0edb3cb8376
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-01-31 17:09:44 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-01-31 17:09:44 +0000
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
---
stand/efi/loader/arch/riscv/riscv.ldscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
{