shl.x revision 1.3
1OUTPUT_FORMAT("elf32-shl-unx")
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