* Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
[binutils.git] / ld / scripttempl / h8500b.sc
blobef5fa2c488ab54497cfbae04c803c3371664d27a
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 OUTPUT_ARCH(${ARCH})
5 /* Code and data, both larger than 64k */
7 SECTIONS                                
8 {                                       
9 .text ${RELOCATING+ 0x10000} :
10         {                                       
11           *(.text)                              
13          ${RELOCATING+ _etext = . ; }
14         }
17 .data  ${RELOCATING+ 0x20000} :
18         {
19         *(.data)
20         ${RELOCATING+ _edata = . ; }
21         } 
23 .rdata  ${RELOCATING+ 0x30000} :
24         {
25         *(.rdata); 
26           *(.strings)
27         ___ctors = . ;
28         *(.ctors)
29         ___ctors_end = . ;
30         ___dtors = . ;
31         *(.dtors)
32         ___dtors_end = . ;
33
35 .bss  ${RELOCATING+ 0x40000} :
36         {
37         ${RELOCATING+ __start_bss = . ; }
38         *(.bss)
39         *(COMMON)
40         ${RELOCATING+ _end = . ;  }
41         }
43 .stack  ${RELOCATING+ 0x50000} :
44         {
45         ${RELOCATING+ _stack = . ; }
46         *(.stack)
47         } 
49   .stab  0 ${RELOCATING+(NOLOAD)} : 
50   {
51     [ .stab ]
52   }
53   .stabstr  0 ${RELOCATING+(NOLOAD)} :
54   {
55     [ .stabstr ]
56   }
58 EOF