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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [or32/] [board/] [comp.ld] - Rev 1777

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

MEMORY
        {
        ram     : ORIGIN = 0x01000000, LENGTH = 0x00010000
        flash   : ORIGIN = 0x04000000, LENGTH = 0x00200000
        }
 
SECTIONS
{
        .reset :
        {
        *(.reset)
        } > flash

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

        .linux ALIGN(0x4):
        {
        _linux_start = .;
        *(.linux)
        _linux_end = .;
        _src_beg = .;
        } > flash

        .data :
        AT ( ADDR (.text) + SIZEOF (.text) + SIZEOF (.linux))
        {
        _dst_beg = .;
        *(.rodata)
        *(.data)
        _dst_end = .;
        } > ram

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

        .stack  ALIGN(0x10) (NOLOAD):
        {
        *(.stack)
        } > 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.