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

Subversion Repositories Aquarius

[/] [Aquarius/] [trunk/] [application/] [shc_clock/] [startup/] [sh.x] - Rev 12

Compare with Previous | Blame | View Log

/**************************************
 SuperH (SH-2) C Compiler Linker Script
 **************************************/ 

OUTPUT_FORMAT("elf32-sh")
OUTPUT_ARCH(sh)

MEMORY
{
        ram    : o = 0x00002000, l = 0x1e00
        stack  : o = 0x00003e00, l = 0x0200
}

SECTIONS                                
{                                       
.text : {                                       
        *(.text)                                
        *(.strings)
         _etext = . ; 
        }  > ram

.tors : {
        ___ctors = . ;
        *(.ctors)
        ___ctors_end = . ;
        ___dtors = . ;
        *(.dtors)
        ___dtors_end = . ;
        }  > ram

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

__idata_start = ADDR(.text) + SIZEOF(.text) + SIZEOF(.tors) + SIZEOF(.rodata); 
.data : AT(__idata_start) {
        __idata_start = .;
        _sdata = . ;
        *(.data)
        _edata = . ;
        }  > ram
__idata_end = __idata_start + SIZEOF(.data);

.bss : {
        _bss_start = .;
        *(.bss)
        *(COMMON)
        _end = .;
        }  >ram

.stack :
        {
        _stack = .;
        *(.stack)
        } > stack
}

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.