/**********************************************************
  File   : ldscript 
  Author : Cesar Fuguet
  Date   : June 2011
**********************************************************/

/* Definition of the base address for all segments */ 

seg_stack_base    = 0x00018000;
seg_boot_base     = 0xBFC00000;       /* le code de boot */

/* Grouping sections into segments */

ENTRY(boot)
SECTIONS
{
    . = seg_boot_base;
    .text : {
        *(.boot)
        *(.reset)
    }

    .data ALIGN(0x4) : {
        *(.reset_data)
        . = ALIGN(0x4);
        dtb_addr = .;
        INCLUDE "build/platform.ld";
    }
}
