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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-binutils/] [binutils-2.19.1/] [ld/] [scripttempl/] [h8500.sc] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 jlechner
TORS="
2
    ___ctors = . ;
3
    *(.ctors)
4
    ___ctors_end = . ;
5
    ___dtors = . ;
6
    *(.dtors)
7
    ___dtors_end = . ;"
8
 
9
cat <
10
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
11
OUTPUT_ARCH(${ARCH})
12
 
13
/* Code and data 64k total */
14
 
15
SECTIONS
16
{
17
.text ${RELOCATING+ 0x0000} :
18
        {
19
          *(.text)
20
          ${RELOCATING+ _etext = . ; }
21
        }
22
 
23
.data  ${RELOCATING+ . } :
24
        {
25
          *(.data)
26
          ${RELOCATING+ _edata = . ; }
27
        }
28
 
29
.rdata  ${RELOCATING+ . } :
30
        {
31
          *(.rdata);
32
          *(.strings)
33
 
34
          ${CONSTRUCTING+${TORS}}
35
        }
36
 
37
.bss  ${RELOCATING+ . } :
38
        {
39
          ${RELOCATING+ __start_bss = . ; }
40
          *(.bss)
41
          *(COMMON)
42
          ${RELOCATING+ _end = . ;  }
43
        }
44
 
45
.stack  ${RELOCATING+ 0xfff0} :
46
        {
47
          ${RELOCATING+ _stack = . ; }
48
          *(.stack)
49
        }
50
 
51
.stab  0 ${RELOCATING+(NOLOAD)} :
52
        {
53
          [ .stab ]
54
        }
55
 
56
.stabstr  0 ${RELOCATING+(NOLOAD)} :
57
        {
58
          [ .stabstr ]
59
        }
60
}
61
EOF

powered by: WebSVN 2.1.0

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