aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/conf/init-link.S
blob: db18822c8acb4cba12a423480ef3b53a18096d31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <apos/link.lds.h>
#include <vmap.h>

OUTPUT_ARCH(riscv)
ENTRY(_start)

SECTIONS {
	. = ABSOLUTE(PM_KERN);
	.text ALIGN(4K) : AT(0) {
		*(.init.start)
		*(.text);
		. = ALIGN(4K);
	}
}