OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [support/] [orp.ld] - Rev 38

Go to most recent revision | Compare with Previous | Blame | View Log

/*
MEMORY
        {
        vectors : ORIGIN = 0x00000000, LENGTH = 0x00002000
        flash   : ORIGIN = 0x04000000, LENGTH = 0x00200000
        ram     : ORIGIN = 0x00002000, LENGTH = 0x001fe000
        icm     : ORIGIN = 0x00800000, LENGTH = 0x00004000
        }
 */
MEMORY
        {
        reset   : ORIGIN = 0x00000000, LENGTH = 0x00000200
        vectors : ORIGIN = 0x00000200, LENGTH = 0x00001000
        ram     : ORIGIN = 0x00001200, LENGTH = 0x00FFED00
        }

SECTIONS
{
        .reset :
        {
        *(.reset)
        } > reset


 
        .vectors :
        {
        _vec_start = .;
        *(.vectors)
        _vec_end = .;
        } > vectors

        .text :
        {
        *(.text)
        } > ram

      .rodata :
        {
        *(.rodata)
        *(.rodata.*)
        } > ram
 
     .icm :
        {
        _icm_start = .;
        *(.icm)
        _icm_end = .;
        } > ram

     .data :
        {
        _dst_beg = .;
        *(.data)
        _dst_end = .;
        } > ram
 
      .bss :
        {
        *(.bss)
        } > ram
 
      .stack (NOLOAD) :
        {
        *(.stack)
        _src_addr = .;
        } > ram

}

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.