2 OUTPUT_FORMAT("elf32-v850", "elf32-v850",
7 /*/critters/slug/grossman/install/sun4/v850-elf/lib*/
10 /* This saves a little space in the ELF file, since the zda starts
11 at a higher location that the ELF headers take up. */
13 .zdata ${ZDATA_START_ADDR} : {
22 /* Read-only sections, merged into text segment: */
23 . = ${TEXT_START_ADDR};
24 .interp : { *(.interp) }
26 .dynsym : { *(.dynsym) }
27 .dynstr : { *(.dynstr) }
28 .rel.text : { *(.rel.text) }
29 .rela.text : { *(.rela.text) }
30 .rel.data : { *(.rel.data) }
31 .rela.data : { *(.rela.data) }
32 .rel.rodata : { *(.rel.rodata) }
33 .rela.rodata : { *(.rela.rodata) }
34 .rel.got : { *(.rel.got) }
35 .rela.got : { *(.rela.got) }
36 .rel.ctors : { *(.rel.ctors) }
37 .rela.ctors : { *(.rela.ctors) }
38 .rel.dtors : { *(.rel.dtors) }
39 .rela.dtors : { *(.rela.dtors) }
40 .rel.init : { *(.rel.init) }
41 .rela.init : { *(.rela.init) }
42 .rel.fini : { *(.rel.fini) }
43 .rela.fini : { *(.rela.fini) }
44 .rel.bss : { *(.rel.bss) }
45 .rela.bss : { *(.rela.bss) }
46 .rel.plt : { *(.rel.plt) }
47 .rela.plt : { *(.rela.plt) }
48 .init : { *(.init) } =0
53 /* .gnu.warning sections are handled specially by elf32.em. */
58 ${RELOCATING+_etext = .;}
59 ${RELOCATING+PROVIDE (etext = .);}
61 .fini : { *(.fini) } =0
62 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
63 .rodata1 : { *(.rodata1) }
70 .data1 : { *(.data1) }
72 ${RELOCATING+___ctors = .;}
74 ${RELOCATING+___ctors_end = .;}
78 ${RELOCATING+___dtors = .;}
80 ${RELOCATING+___dtors_end = .;}
83 .got : { *(.got.plt) *(.got) }
84 .dynamic : { *(.dynamic) }
86 .tdata ${TDATA_START_ADDR} : {
87 ${RELOCATING+PROVIDE (__ep = .);}
93 /* We want the small data sections together, so single-instruction offsets
94 can access them all, and initialized data all before uninitialized, so
95 we can shorten the on-disk segment size. */
96 .sdata ${SDATA_START_ADDR} : {
97 ${RELOCATING+PROVIDE (__gp = . + 0x8000);}
100 ${RELOCATING+__sbss_start = .;}
105 ${RELOCATING+_edata = DEFINED (__sbss_start) ? __sbss_start : . ;}
106 ${RELOCATING+PROVIDE (edata = _edata);}
110 ${RELOCATING+__bss_start = DEFINED (__sbss_start) ? __sbss_start : . ;}
116 ${RELOCATING+_end = . ;}
117 ${RELOCATING+PROVIDE (end = .);}
119 /* Stabs debugging sections. */
120 .stab 0 : { *(.stab) }
121 .stabstr 0 : { *(.stabstr) }
122 .stab.excl 0 : { *(.stab.excl) }
123 .stab.exclstr 0 : { *(.stab.exclstr) }
124 .stab.index 0 : { *(.stab.index) }
125 .stab.indexstr 0 : { *(.stab.indexstr) }
126 .comment 0 : { *(.comment) }
128 /* DWARF debug sections.
129 Symbols in the DWARF debugging sections are relative to the beginning
130 of the section so we begin them at 0. */
133 .debug 0 : { *(.debug) }
134 .line 0 : { *(.line) }
136 /* GNU DWARF 1 extensions */
137 .debug_srcinfo 0 : { *(.debug_srcinfo) }
138 .debug_sfnames 0 : { *(.debug_sfnames) }
140 /* DWARF 1.1 and DWARF 2 */
141 .debug_aranges 0 : { *(.debug_aranges) }
142 .debug_pubnames 0 : { *(.debug_pubnames) }
145 .debug_info 0 : { *(.debug_info) }
146 .debug_abbrev 0 : { *(.debug_abbrev) }
147 .debug_line 0 : { *(.debug_line) }
148 .debug_frame 0 : { *(.debug_frame) }
149 .debug_str 0 : { *(.debug_str) }
150 .debug_loc 0 : { *(.debug_loc) }
151 .debug_macinfo 0 : { *(.debug_macinfo) }
153 /* SGI/MIPS DWARF 2 extensions */
154 .debug_weaknames 0 : { *(.debug_weaknames) }
155 .debug_funcnames 0 : { *(.debug_funcnames) }
156 .debug_typenames 0 : { *(.debug_typenames) }
157 .debug_varnames 0 : { *(.debug_varnames) }
159 /* .stack 0xffffec00 : { _stack = .; *(.stack) }*/
161 ${RELOCATING+_stack = .;}
164 /* These must appear regardless of . */