xref: /netbsd-src/sys/arch/mmeye/conf/sh.x (revision 633a8f2e2ecb4dcf85cf90ebe45185540a54cc30)
1 OUTPUT_FORMAT("coff-sh")
OUTPUT_ARCH(sh)2 OUTPUT_ARCH(sh)
3 MEMORY
4 {
5   ram : o = 0x8C010000, l = 4M
6 }
7 SECTIONS
8 {
9   ROM = 0x80010000;
10 
11   .text :
AT(ROM)12   AT (ROM)
13   {
14     *(.text)
15     *(.strings)
16      _etext = . ;
17   }  > ram
18   .data :
19   AT (ROM + SIZEOF(.text))
20   {
21     *(.data)
22      _edata = . ;
23   }  > ram
24   .bss :
25   AT (ROM + SIZEOF(.text) + SIZEOF(.data))
26   {
27      _bss_start = . ;
28     *(.bss)
29     *(COMMON)
30      _end = . ;
31   }  > ram
32   .stack   :
33   {
34      _stack = . ;
35     *(.stack)
36   }  > ram
37   .stab 0 (NOLOAD) :
38   {
39     *(.stab)
40   }
41   .stabstr 0 (NOLOAD) :
42   {
43     *(.stabstr)
44   }
45 }
46