]> Git Repo - binutils.git/blob - ld/scripttempl/h8500s.sc
19990502 sourceware import
[binutils.git] / ld / scripttempl / h8500s.sc
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 OUTPUT_ARCH(${ARCH})
4
5 /* Code and data, both 64k */
6
7 SECTIONS                                
8 {                                       
9 .text ${RELOCATING+ 0x10000 } :
10         {                                       
11         *(.text)                                
12         ${RELOCATING+ _etext = . ; }
13         }
14
15 .rdata  ${RELOCATING+ 0x20000 } :
16         {
17         *(.rdata); 
18         *(.strings)
19         ___ctors = . ;
20         *(.ctors)
21         ___ctors_end = . ;
22         ___dtors = . ;
23         *(.dtors)
24         ___dtors_end = . ;
25         }
26
27 .data  ${RELOCATING+ . } :
28         {
29         *(.data)
30         ${RELOCATING+ _edata = . ; }
31         } 
32
33 .bss  ${RELOCATING+ .} :
34         {
35         ${RELOCATING+ __start_bss = . ; }
36         *(.bss)
37         *(COMMON)
38         ${RELOCATING+ _end = . ;  }
39         }
40
41 .stack  ${RELOCATING+ 0x2fff0} :
42         {
43         ${RELOCATING+ _stack = . ; }
44         *(.stack)
45         } 
46
47   .stab  0 ${RELOCATING+(NOLOAD)} : 
48   {
49     [ .stab ]
50   }
51   .stabstr  0 ${RELOCATING+(NOLOAD)} :
52   {
53     [ .stabstr ]
54   }
55 }
56 EOF
57
58
59
60
This page took 0.026995 seconds and 4 git commands to generate.