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

Subversion Repositories Aquarius

[/] [Aquarius/] [trunk/] [application/] [shc_pi/] [startup/] [sh.x] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 thorn_aitc
/**************************************
2
 SuperH (SH-2) C Compiler Linker Script
3
 **************************************/
4
 
5
OUTPUT_FORMAT("elf32-sh")
6
OUTPUT_ARCH(sh)
7
 
8
MEMORY
9
{
10
        ram    : o = 0x00002000, l = 0x1e00
11
        stack  : o = 0x00003e00, l = 0x0200
12
}
13
 
14
SECTIONS
15
{
16
.text : {
17
        *(.text)
18
        *(.strings)
19
         _etext = . ;
20
        }  > ram
21
 
22
.tors : {
23
        ___ctors = . ;
24
        *(.ctors)
25
        ___ctors_end = . ;
26
        ___dtors = . ;
27
        *(.dtors)
28
        ___dtors_end = . ;
29
        }  > ram
30
 
31
.rodata : {
32
    *(.rodata)
33
    } >ram
34
 
35
__idata_start = ADDR(.text) + SIZEOF(.text) + SIZEOF(.tors) + SIZEOF(.rodata);
36
.data : AT(__idata_start) {
37
        __idata_start = .;
38
        _sdata = . ;
39
        *(.data)
40
        _edata = . ;
41
        }  > ram
42
__idata_end = __idata_start + SIZEOF(.data);
43
 
44
.bss : {
45
        _bss_start = .;
46
        *(.bss)
47
        *(COMMON)
48
        _end = .;
49
        }  >ram
50
 
51
.stack :
52
        {
53
        _stack = .;
54
        *(.stack)
55
        } > stack
56
}

powered by: WebSVN 2.1.0

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