Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2026 15:29:22 +0000
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ec5370457e3a - stable/15 - stand: Use the correct OUTPUT_ARCH in the linker script for RISC-V
Message-ID:  <69eb8c52.361e0.7efde823@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by jhb:

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

commit ec5370457e3a59a1dc53cdd39017a636fc4ff6ce
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-01-31 17:09:44 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-04-24 15:26:39 +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
    
    (cherry picked from commit 2e8ef82b3418b41e7c54e2dbd16df0edb3cb8376)
---
 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
 {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eb8c52.361e0.7efde823>