view cos/kernel/link.ld @ 35:bcb3b68c8147

Added bss end address and load end address to multiboot header
author windel
date Mon, 16 Jan 2012 17:38:00 +0100
parents 7e3bdcb391dc
children
line wrap: on
line source

OUTPUT_FORMAT("binary")

SECTIONS {
  .text 0x100000: 
  {
    *(.text)
  }

  .rodata ALIGN (4096) : 
  {
    *(.rodata)
  }

  .data ALIGN (4096) : 
  {
    *(.data)
  }

   load_end_address = .;
  .bss : {
    *(.bss)
   }

   bss_end_address = .;
   kernel_end = .;
}