1 OUTPUT_FORMAT("elf32-m32r", "elf32-m32r",
5 SEARCH_DIR(/usr/cygnus/m32r-961018/H-sparc-sun-sunos4.1//lib);
6 /* Do we need any of these for elf?
10 OVERLAY 0x300000 : AT (0x400000)
12 .ovly0 { foo.o(.text) }
13 .ovly1 { bar.o(.text) }
15 OVERLAY 0x380000 : AT (0x480000)
17 .ovly2 { baz.o(.text) }
18 .ovly3 { grbx.o(.text) }
20 OVERLAY 0x340000 : AT (0x440000)
22 .data00 { foo.o(.data) }
23 .data01 { bar.o(.data) }
25 OVERLAY 0x3C0000 : AT (0x4C0000)
27 .data02 { baz.o(.data) }
28 .data03 { grbx.o(.data) }
31 /* Read-only sections, merged into text segment: */
33 .interp : { *(.interp) }
35 .dynsym : { *(.dynsym) }
36 .dynstr : { *(.dynstr) }
37 .rel.text : { *(.rel.text) }
38 .rela.text : { *(.rela.text) }
39 .rel.data : { *(.rel.data) }
40 .rela.data : { *(.rela.data) }
41 .rel.rodata : { *(.rel.rodata) }
42 .rela.rodata : { *(.rela.rodata) }
43 .rel.got : { *(.rel.got) }
44 .rela.got : { *(.rela.got) }
45 .rel.ctors : { *(.rel.ctors) }
46 .rela.ctors : { *(.rela.ctors) }
47 .rel.dtors : { *(.rel.dtors) }
48 .rela.dtors : { *(.rela.dtors) }
49 .rel.init : { *(.rel.init) }
50 .rela.init : { *(.rela.init) }
51 .rel.fini : { *(.rel.fini) }
52 .rela.fini : { *(.rela.fini) }
53 .rel.bss : { *(.rel.bss) }
54 .rela.bss : { *(.rela.bss) }
55 .rel.plt : { *(.rel.plt) }
56 .rela.plt : { *(.rela.plt) }
57 .init : { *(.init) } =0
62 /* .gnu.warning sections are handled specially by elf32.em. */
68 .fini : { *(.fini) } =0
69 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
70 .rodata1 : { *(.rodata1) }
71 /* Adjust the address for the data segment. We want to adjust up to
72 the same address within the page on the next page up. */
73 . = ALIGN(32) + (ALIGN(8) & (32 - 1));
80 LONG(ABSOLUTE(ADDR(.ovly0)));
82 LONG(LOADADDR(.ovly0));
85 LONG(ABSOLUTE(ADDR(.ovly1)));
87 LONG(LOADADDR(.ovly1));
90 LONG(ABSOLUTE(ADDR(.ovly2)));
92 LONG(LOADADDR(.ovly2));
95 LONG(ABSOLUTE(ADDR(.ovly3)));
97 LONG(LOADADDR(.ovly3));
100 LONG(ABSOLUTE(ADDR(.data00)));
101 LONG(SIZEOF(.data00));
102 LONG(LOADADDR(.data00));
105 LONG(ABSOLUTE(ADDR(.data01)));
106 LONG(SIZEOF(.data01));
107 LONG(LOADADDR(.data01));
110 LONG(ABSOLUTE(ADDR(.data02)));
111 LONG(SIZEOF(.data02));
112 LONG(LOADADDR(.data02));
115 LONG(ABSOLUTE(ADDR(.data03)));
116 LONG(SIZEOF(.data03));
117 LONG(LOADADDR(.data03));
120 LONG((_novlys - _ovly_table) / 16);
124 .data1 : { *(.data1) }
125 .ctors : { *(.ctors) }
126 .dtors : { *(.dtors) }
127 .got : { *(.got.plt) *(.got)}
128 .dynamic : { *(.dynamic) }
129 /* We want the small data sections together, so single-instruction offsets
130 can access them all, and initialized data all before uninitialized, so
131 we can shorten the on-disk segment size. */
132 .sdata : { *(.sdata) }
136 .sbss : { *(.sbss) *(.scommon) }
137 .bss : { *(.dynbss) *(.bss) *(COMMON) }
140 /* Stabs debugging sections. */
141 .stab 0 : { *(.stab) }
142 .stabstr 0 : { *(.stabstr) }
143 .stab.excl 0 : { *(.stab.excl) }
144 .stab.exclstr 0 : { *(.stab.exclstr) }
145 .stab.index 0 : { *(.stab.index) }
146 .stab.indexstr 0 : { *(.stab.indexstr) }
147 .comment 0 : { *(.comment) }
148 /* DWARF debug sections.
149 Symbols in the .debug DWARF section are relative to the beginning of the
150 section so we begin .debug at 0. It's not clear yet what needs to happen
152 .debug 0 : { *(.debug) }
153 .debug_srcinfo 0 : { *(.debug_srcinfo) }
154 .debug_aranges 0 : { *(.debug_aranges) }
155 .debug_pubnames 0 : { *(.debug_pubnames) }
156 .debug_sfnames 0 : { *(.debug_sfnames) }
157 .line 0 : { *(.line) }
158 .stack 0x5ffffc : { _stack = .; *(.stack) }
159 /* These must appear regardless of . */