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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [drivers/] [or1200/] [link.ld] - Diff between revs 393 and 439

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 393 Rev 439
Line 7... Line 7...
        vectors : ORIGIN = 0, LENGTH = 0x1000
        vectors : ORIGIN = 0, LENGTH = 0x1000
        ram     : ORIGIN = 0x1000, LENGTH = (8M - 0x1000)
        ram     : ORIGIN = 0x1000, LENGTH = (8M - 0x1000)
}
}
 
 
 
 
/*
/* Stack information variables */
 * Allocate the stack to be at the top of memory, since the stack
_min_stack      = 0x2000;   /* 8K - minimum stack space to reserve */
 * grows down.
 
 */
 
PROVIDE (stack = 128K - 4);
 
PROVIDE (_stack = 128K - 4);
 
 
 
SECTIONS
SECTIONS
{
{
        .vectors :
        .vectors :
        {
        {
Line 75... Line 72...
                end = ALIGN(0x8);
                end = ALIGN(0x8);
                _end = ALIGN(0x8);
                _end = ALIGN(0x8);
                __end = ALIGN(0x8);
                __end = ALIGN(0x8);
                ebss = .;
                ebss = .;
                _ebss = .;
                _ebss = .;
        }
        } > ram
 
 
 
        /* ensure there is enough room for stack */
 
        .stack (NOLOAD): {
 
                . = ALIGN(4);
 
                sstack = . ;
 
                _sstack = . ;
 
                . = . + _min_stack ;
 
                . = ALIGN(4);
 
                stack = . ;
 
                _stack = . ;
 
                estack = . ;
 
                _estack = . ;
 
        } > ram
 
 
        .stab  0 (NOLOAD) :
        .stab  0 (NOLOAD) :
        {
        {
                [ .stab ]
                [ .stab ]
        }
        }

powered by: WebSVN 2.1.0

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