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 = .; }