link.ld 297 B

1234567891011121314151617181920
  1. ENTRY(mystart)
  2. SECTIONS
  3. {
  4. .text : {
  5. */bootloader.o(.text)
  6. *(.text)
  7. *(.rodata)
  8. *(.data)
  9. *(COMMON)
  10. }
  11. /* gem5 uses the bss as a measure of the kernel size. */
  12. .bss : { *(.bss) }
  13. heap_low = .;
  14. . = . + 0x1000000;
  15. heap_top = .;
  16. . = . + 0x1000000;
  17. stack_top = .;
  18. }