1 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
5 /* Do we need any of these for elf?
9 /* Read-only sections, merged into text segment: */
11 .interp : { *(.interp) }
13 .dynsym : { *(.dynsym) }
14 .dynstr : { *(.dynstr) }
15 .gnu.version : { *(.gnu.version) }
16 .gnu.version_d : { *(.gnu.version_d) }
17 .gnu.version_r : { *(.gnu.version_r) }
18 .rel.init : { *(.rel.init) }
19 .rela.init : { *(.rela.init) }
24 *(.rel.gnu.linkonce.t*)
30 *(.rela.gnu.linkonce.t*)
32 .rel.fini : { *(.rel.fini) }
33 .rela.fini : { *(.rela.fini) }
38 *(.rel.gnu.linkonce.r*)
44 *(.rela.gnu.linkonce.r*)
50 *(.rel.gnu.linkonce.d*)
56 *(.rela.gnu.linkonce.d*)
58 .rel.ctors : { *(.rel.ctors) }
59 .rela.ctors : { *(.rela.ctors) }
60 .rel.dtors : { *(.rel.dtors) }
61 .rela.dtors : { *(.rela.dtors) }
62 .rel.got : { *(.rel.got) }
63 .rela.got : { *(.rela.got) }
68 *(.rel.gnu.linkonce.s*)
74 *(.rela.gnu.linkonce.s*)
76 .rel.sbss : { *(.rel.sbss) }
77 .rela.sbss : { *(.rela.sbss) }
78 .rel.bss : { *(.rel.bss) }
79 .rela.bss : { *(.rela.bss) }
80 .rel.plt : { *(.rel.plt) }
81 .rela.plt : { *(.rela.plt) }
88 /* .gnu.warning sections are handled specially by elf32.em. */
91 *(.glue_7t) *(.glue_7)
103 .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) }
104 .rodata1 : { *(.rodata1) }
105 .eh_frame_hdr : { *(.eh_frame_hdr) }
106 /* Adjust the address for the data segment. We want to adjust up to
107 the same address within the page on the next page up. */
108 . = ALIGN(256) + (. & (256 - 1));
116 .data1 : { *(.data1) }
117 .eh_frame : { KEEP (*(.eh_frame)) }
118 .gcc_except_table : { *(.gcc_except_table) }
121 /* gcc uses crtbegin.o to find the start of
122 the constructors, so we make sure it is
123 first. Because this is a wildcard, it
124 doesn't matter if the user does not
125 actually link against crtbegin.o; the
126 linker won't look for a file to match a
127 wildcard. The wildcard also means that it
128 doesn't matter which directory crtbegin.o
130 KEEP (*crtbegin.o(.ctors))
131 /* We don't want to include the .ctor section from
132 from the crtend.o file until after the sorted ctors.
133 The .ctor section from the crtend file contains the
134 end of ctors marker and it must be last */
135 KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
136 KEEP (*(SORT(.ctors.*)))
141 KEEP (*crtbegin.o(.dtors))
142 KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
143 KEEP (*(SORT(.dtors.*)))
146 .jcr : { KEEP (*(.jcr)) }
147 .got : { *(.got.plt) *(.got) }
148 .dynamic : { *(.dynamic) }
149 /* We want the small data sections together, so single-instruction offsets
150 can access them all, and initialized data all before uninitialized, so
151 we can shorten the on-disk segment size. */
175 /* Align here to ensure that the .bss section occupies space up to
176 _end. Align after .bss to ensure correct alignment even if the
177 .bss section disappears because there are no input sections. */
182 _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
184 /* Stabs debugging sections. */
185 .stab 0 : { *(.stab) }
186 .stabstr 0 : { *(.stabstr) }
187 .stab.excl 0 : { *(.stab.excl) }
188 .stab.exclstr 0 : { *(.stab.exclstr) }
189 .stab.index 0 : { *(.stab.index) }
190 .stab.indexstr 0 : { *(.stab.indexstr) }
191 .comment 0 : { *(.comment) }
192 /* DWARF debug sections.
193 Symbols in the DWARF debugging sections are relative to the beginning
194 of the section so we begin them at 0. */
196 .debug 0 : { *(.debug) }
197 .line 0 : { *(.line) }
198 /* GNU DWARF 1 extensions */
199 .debug_srcinfo 0 : { *(.debug_srcinfo) }
200 .debug_sfnames 0 : { *(.debug_sfnames) }
201 /* DWARF 1.1 and DWARF 2 */
202 .debug_aranges 0 : { *(.debug_aranges) }
203 .debug_pubnames 0 : { *(.debug_pubnames) }
205 .debug_info 0 : { *(.debug_info) }
206 .debug_abbrev 0 : { *(.debug_abbrev) }
207 .debug_line 0 : { *(.debug_line) }
208 .debug_frame 0 : { *(.debug_frame) }
209 .debug_str 0 : { *(.debug_str) }
210 .debug_loc 0 : { *(.debug_loc) }
211 .debug_macinfo 0 : { *(.debug_macinfo) }
212 .debug_ranges 0 : { *(.debug_ranges) }
213 /* SGI/MIPS DWARF 2 extensions */
214 .debug_weaknames 0 : { *(.debug_weaknames) }
215 .debug_funcnames 0 : { *(.debug_funcnames) }
216 .debug_typenames 0 : { *(.debug_typenames) }
217 .debug_varnames 0 : { *(.debug_varnames) }
218 .stack 0x20004000 : { _stack = .; *(.stack) }
219 /* These must appear regardless of . */