shl.x revision 1.2
1OUTPUT_FORMAT("coff-shl")
2OUTPUT_ARCH(sh)
3MEMORY
4{
5  ram : o = 0x8C010000, l = 16M
6}
7SECTIONS
8{
9  .text :
10  {
11    *(.text)
12    *(.rodata)
13    *(.strings)
14     _etext = . ;
15  }  > ram
16  .tors :
17  {
18    ___ctors = . ;
19    *(.ctors)
20    ___ctors_end = . ;
21    ___dtors = . ;
22    *(.dtors)
23    ___dtors_end = . ;
24  } > ram
25  .data :
26  {
27    *(.data)
28     _edata = . ;
29  }  > ram
30  .bss :
31  {
32     _bss_start = . ;
33    *(.bss)
34    *(COMMON)
35     _end = . ;
36  }  > ram
37  .stack   :
38  {
39     _stack = . ;
40    *(.stack)
41  }  > ram
42  .stab 0 (NOLOAD) :
43  {
44    *(.stab)
45  }
46  .stabstr 0 (NOLOAD) :
47  {
48    *(.stabstr)
49  }
50}
51