Files
linux-kernel-module-cheat/baremetal/link.ld
Ciro Santilli 六四事件 法轮功 05a07fc0a8 baremetal: make entry point _start instead of lkmc_start
I forgot why I did that. Let's try and see it blow up.
2020-03-26 00:00:00 +00:00

20 lines
296 B
Plaintext

ENTRY(_start)
SECTIONS
{
.text : {
*/bootloader.o(.text)
*(.text)
*(.rodata)
*(.data)
*(COMMON)
}
/* gem5 uses the bss as a measure of the kernel size. */
.bss : { *(.bss) }
heap_low = .;
. = . + 0x1000000;
heap_top = .;
. = . + 0x1000000;
stack_top = .;
}