mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
20 lines
300 B
Plaintext
20 lines
300 B
Plaintext
ENTRY(lkmc_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 = .;
|
|
}
|
|
|