Failed to fetch fork details. Try again later.
-
啊队队队 authored74c413b6
Forked from
你说对不队 / OSKernel2023-ByteOS
Source project has a limited visibility.
OUTPUT_ARCH(riscv)
ENTRY(_start)
BASE_ADDRESS = 0xffffffc080020000;
__ENTRY_ADDR = 0x80020000;
SECTIONS
{
/* Load the kernel at this address: "." means the current address */
. = BASE_ADDRESS;
start = .;
.text ALIGN(4K): AT(__ENTRY_ADDR) {
stext = .;
*(.text.entry)
*(.text .text.*)
. = ALIGN(4K);
etext = .;
}
.rodata ALIGN(4K): {
srodata = .;
*(.rodata .rodata.*)
. = ALIGN(4K);
erodata = .;
}
.data ALIGN(4K): {
. = ALIGN(4K);
*(.data.prepage)
. = ALIGN(4K);
sdata = .;
*(.data .data.*)
*(.sdata .sdata.*)
edata = .;
}
.stack : {
*(.bss.stack)
}
.bss : {
*(.bss.stack)
sbss = .;
*(.bss .bss.*)
*(.sbss .sbss.*)
ebss = .;
}
PROVIDE(end = .);
}