A tiny Forth kernel for RV64: Linux and QEMU virt builds, linked from handwritten assembly.
First runnable RV64 Forth kernelOct 11
1/* QEMU virt: RAM starts at 0x80000000, and -bios loads the image there. */
2OUTPUT_ARCH(riscv)
3ENTRY(_start)
5SECTIONS
6{
7 . = 0x80000000;
8 .text : { *(.text.init) *(.text .text.*) }
9 .rodata : { *(.rodata .rodata.*) }
10 .data : { *(.data .data.*) }
11 .bss : { *(.bss .bss.*) }
12}