]> Git Repo - binutils.git/blob - ld/scripttempl/sh.sc
added support for the original "make chech-cdtest"
[binutils.git] / ld / scripttempl / sh.sc
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 OUTPUT_ARCH(${ARCH})
4
5 MEMORY {
6         ram   : o = 0x1000, l = 512k
7         }
8
9 SECTIONS                                
10 {                                       
11 .text :
12         {                                       
13           *(.text)                              
14           *(.strings)
15          ${RELOCATING+ _etext = . ; }
16         } ${RELOCATING+ > ram}
17
18
19 .tors   : {
20         ___ctors = . ;
21         *(.ctors)
22         ___ctors_end = . ;
23         ___dtors = . ;
24         *(.dtors)
25         ___dtors_end = . ;
26 }  ${RELOCATING+ > ram}
27
28 .data  :
29         {
30         *(.data)
31         ${RELOCATING+ _edata = . ; }
32         } ${RELOCATING+ > ram}
33 .bss  :
34         {
35         ${RELOCATING+ _bss_start = . ;}
36         *(.bss)
37         *(COMMON)
38         ${RELOCATING+ _end = . ;  }
39         } ${RELOCATING+ >ram}
40 .stack : 
41         {
42         ${RELOCATING+ _stack = . ; }
43         *(.stack)
44         } ${RELOCATING+ > ram}
45 }
46 EOF
47
48
49
50
This page took 0.022872 seconds and 4 git commands to generate.