1/*	$NetBSD: shl-elf.x,v 1.6 2002/04/25 17:01:47 uch Exp $	*/
2
3OUTPUT_FORMAT("elf32-shl-nbsd")
4OUTPUT_ARCH(sh)
5ENTRY(start)
6
7MEMORY
8{
9  ram (a) : o = 0x8c001000, l = 16M
10}
11SECTIONS
12
13{
14  .text :
15  {
16    ftext = . ;
17    *(.text)
18    *(.rodata)
19    *(.strings)
20  }
21  etext = . ;
22  PROVIDE (etext = .);
23  . = ALIGN(8);
24  .data :
25  {
26    fdata = . ;
27    PROVIDE (fdata = .);
28    *(.data)
29    CONSTRUCTORS
30  }
31  edata = . ;
32  PROVIDE (edata = .);
33  . = ALIGN(8);
34  .bss :
35  {
36    fbss = . ;
37    PROVIDE (fbss = .);
38    *(.bss)
39    *(COMMON)
40  }
41  . = ALIGN(4);
42  end = . ;
43  PROVIDE (end = .);
44
45  /* Stabs debugging sections.  */
46  .stab 0 : { *(.stab) }
47  .stabstr 0 : { *(.stabstr) }
48  .stab.excl 0 : { *(.stab.excl) }
49  .stab.exclstr 0 : { *(.stab.exclstr) }
50  .stab.index 0 : { *(.stab.index) }
51  .stab.indexstr 0 : { *(.stab.indexstr) }
52  .comment 0 : { *(.comment) }
53  /* DWARF debug sections.
54     Symbols in the DWARF debugging section are relative to the beginning
55     of the section so we begin .debug at 0.  */
56  /* DWARF 1 */
57  .debug          0 : { *(.debug) }
58  .line           0 : { *(.line) }
59  /* GNU DWARF 1 extensions */
60  .debug_srcinfo  0 : { *(.debug_srcinfo) }
61  .debug_sfnames  0 : { *(.debug_sfnames) }
62  /* DWARF 1.1 and DWARF 2 */
63  .debug_aranges  0 : { *(.debug_aranges) }
64  .debug_pubnames 0 : { *(.debug_pubnames) }
65  /* DWARF 2 */
66  .debug_info     0 : { *(.debug_info) }
67  .debug_abbrev   0 : { *(.debug_abbrev) }
68  .debug_line     0 : { *(.debug_line) }
69  .debug_frame    0 : { *(.debug_frame) }
70  .debug_str      0 : { *(.debug_str) }
71  .debug_loc      0 : { *(.debug_loc) }
72  .debug_macinfo  0 : { *(.debug_macinfo) }
73  /* SGI/MIPS DWARF 2 extensions */
74  .debug_weaknames 0 : { *(.debug_weaknames) }
75  .debug_funcnames 0 : { *(.debug_funcnames) }
76  .debug_typenames 0 : { *(.debug_typenames) }
77  .debug_varnames  0 : { *(.debug_varnames) }
78  /* These must appear regardless of  .  */
79}
80
81