* Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
[binutils.git] / ld / scripttempl / w65.sc
blobf9044952952bf2faf24a1b4492a99889c7906e99
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 OUTPUT_ARCH(${ARCH})
5 MEMORY {
6         ram   : o = 0x1000, l = 512k
7         }
9 SECTIONS                                
10 {                                       
11 .text :
12         {                                       
13           *(.text)                              
14           *(.strings)
15          ${RELOCATING+ _etext = . ; }
16         } ${RELOCATING+ > ram}
19 .tors   : {
20         ___ctors = . ;
21         *(.ctors)
22         ___ctors_end = . ;
23         ___dtors = . ;
24         *(.dtors)
25         ___dtors_end = . ;
26 }  ${RELOCATING+ > ram}
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 ${RELOCATING+ 0x30000 }  : 
41         {
42         ${RELOCATING+ _stack = . ; }
43         *(.stack)
44         } ${RELOCATING+ > ram}
45   .stab  . (NOLOAD) : 
46   {
47     [ .stab ]
48   }
49   .stabstr  . (NOLOAD) :
50   {
51     [ .stabstr ]
52   }
54 EOF