Skip to content

Commit 38d0562

Browse files
committed
Provide the kernel_text symbol for the benfit of sys/kern/subr_prof.c
1 parent e248a9b commit 38d0562

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sys/arch/riscv/conf/kern.ldscript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: kern.ldscript,v 1.8 2021/05/01 07:13:21 skrll Exp $ */
1+
/* $NetBSD: kern.ldscript,v 1.9 2026/03/18 10:02:29 skrll Exp $ */
22

33
#include "assym.h"
44

@@ -14,6 +14,7 @@ SECTIONS
1414
.text : AT (KERNEL_PHYS)
1515
{
1616
PROVIDE(__kernel_text = .);
17+
PROVIDE(kernel_text = .);
1718
*(.text)
1819
*(.text.*)
1920
*(.stub)

0 commit comments

Comments
 (0)