* archures.c (bfd_mach_am33): Define.
[binutils.git] / ld / scripttempl / h8500m.sc
blob040a4a7c6373ea60086cf1cc560925990c2acbaf
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)                              
12          ${RELOCATING+ _etext = . ; }
13         }
16 .data  ${RELOCATING+ 0x20000} :
17         {
18         *(.data)
19         ${RELOCATING+ _edata = . ; }
20         } 
22 .rdata  ${RELOCATING+ . } :
23         {
24         *(.rdata); 
25           *(.strings)
26         ___ctors = . ;
27         *(.ctors)
28         ___ctors_end = . ;
29         ___dtors = . ;
30         *(.dtors)
31         ___dtors_end = . ;
32         } 
34 .bss  ${RELOCATING+ . } :
35         {
36         ${RELOCATING+ __start_bss = . ; }
37         *(.bss)
38         *(COMMON)
39         ${RELOCATING+ _end = . ;  }
40         }
42 .stack  ${RELOCATING+ 0x2fff0} :
43         {
44         ${RELOCATING+ _stack = . ; }
45         *(.stack)
46         } 
48   .stab  0 ${RELOCATING+(NOLOAD)} : 
49   {
50     [ .stab ]
51   }
52   .stabstr  0 ${RELOCATING+(NOLOAD)} :
53   {
54     [ .stabstr ]
55   }
57 EOF