]>
Commit | Line | Data |
---|---|---|
6380ab5e FB |
1 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", |
2 | "elf32-littlearm") | |
3 | OUTPUT_ARCH(arm) | |
4 | ENTRY(_start) | |
5 | SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/alpha-unknown-linux-gnu/lib); | |
6 | SECTIONS | |
7 | { | |
8 | /* Read-only sections, merged into text segment: */ | |
9 | . = 0x60000000 + SIZEOF_HEADERS; | |
10 | .interp : { *(.interp) } | |
11 | .hash : { *(.hash) } | |
12 | .dynsym : { *(.dynsym) } | |
13 | .dynstr : { *(.dynstr) } | |
14 | .gnu.version : { *(.gnu.version) } | |
15 | .gnu.version_d : { *(.gnu.version_d) } | |
16 | .gnu.version_r : { *(.gnu.version_r) } | |
17 | .rel.text : | |
18 | { *(.rel.text) *(.rel.gnu.linkonce.t*) } | |
19 | .rela.text : | |
20 | { *(.rela.text) *(.rela.gnu.linkonce.t*) } | |
21 | .rel.data : | |
22 | { *(.rel.data) *(.rel.gnu.linkonce.d*) } | |
23 | .rela.data : | |
24 | { *(.rela.data) *(.rela.gnu.linkonce.d*) } | |
25 | .rel.rodata : | |
26 | { *(.rel.rodata) *(.rel.gnu.linkonce.r*) } | |
27 | .rela.rodata : | |
28 | { *(.rela.rodata) *(.rela.gnu.linkonce.r*) } | |
29 | .rel.got : { *(.rel.got) } | |
30 | .rela.got : { *(.rela.got) } | |
31 | .rel.ctors : { *(.rel.ctors) } | |
32 | .rela.ctors : { *(.rela.ctors) } | |
33 | .rel.dtors : { *(.rel.dtors) } | |
34 | .rela.dtors : { *(.rela.dtors) } | |
35 | .rel.init : { *(.rel.init) } | |
36 | .rela.init : { *(.rela.init) } | |
37 | .rel.fini : { *(.rel.fini) } | |
38 | .rela.fini : { *(.rela.fini) } | |
39 | .rel.bss : { *(.rel.bss) } | |
40 | .rela.bss : { *(.rela.bss) } | |
41 | .rel.plt : { *(.rel.plt) } | |
42 | .rela.plt : { *(.rela.plt) } | |
43 | .init : { *(.init) } =0x47ff041f | |
44 | .text : | |
45 | { | |
46 | *(.text) | |
47 | /* .gnu.warning sections are handled specially by elf32.em. */ | |
48 | *(.gnu.warning) | |
49 | *(.gnu.linkonce.t*) | |
50 | } =0x47ff041f | |
51 | _etext = .; | |
52 | PROVIDE (etext = .); | |
53 | .fini : { *(.fini) } =0x47ff041f | |
54 | .rodata : { *(.rodata) *(.gnu.linkonce.r*) } | |
55 | .rodata1 : { *(.rodata1) } | |
46152182 PB |
56 | .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } |
57 | __exidx_start = .; | |
58 | .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) } | |
59 | __exidx_end = .; | |
6380ab5e FB |
60 | .reginfo : { *(.reginfo) } |
61 | /* Adjust the address for the data segment. We want to adjust up to | |
62 | the same address within the page on the next page up. */ | |
63 | . = ALIGN(0x100000) + (. & (0x100000 - 1)); | |
64 | .data : | |
65 | { | |
d03d860b | 66 | *(.gen_code) |
6380ab5e FB |
67 | *(.data) |
68 | *(.gnu.linkonce.d*) | |
69 | CONSTRUCTORS | |
70 | } | |
46152182 | 71 | .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } |
6380ab5e | 72 | .data1 : { *(.data1) } |
46152182 PB |
73 | .preinit_array : |
74 | { | |
75 | PROVIDE_HIDDEN (__preinit_array_start = .); | |
76 | KEEP (*(.preinit_array)) | |
77 | PROVIDE_HIDDEN (__preinit_array_end = .); | |
78 | } | |
79 | .init_array : | |
80 | { | |
81 | PROVIDE_HIDDEN (__init_array_start = .); | |
82 | KEEP (*(SORT(.init_array.*))) | |
83 | KEEP (*(.init_array)) | |
84 | PROVIDE_HIDDEN (__init_array_end = .); | |
85 | } | |
86 | .fini_array : | |
87 | { | |
88 | PROVIDE_HIDDEN (__fini_array_start = .); | |
89 | KEEP (*(.fini_array)) | |
90 | KEEP (*(SORT(.fini_array.*))) | |
91 | PROVIDE_HIDDEN (__fini_array_end = .); | |
92 | } | |
6380ab5e FB |
93 | .ctors : |
94 | { | |
95 | *(.ctors) | |
96 | } | |
97 | .dtors : | |
98 | { | |
99 | *(.dtors) | |
100 | } | |
101 | .plt : { *(.plt) } | |
102 | .got : { *(.got.plt) *(.got) } | |
103 | .dynamic : { *(.dynamic) } | |
104 | /* We want the small data sections together, so single-instruction offsets | |
105 | can access them all, and initialized data all before uninitialized, so | |
106 | we can shorten the on-disk segment size. */ | |
107 | .sdata : { *(.sdata) } | |
108 | _edata = .; | |
109 | PROVIDE (edata = .); | |
110 | __bss_start = .; | |
111 | .sbss : { *(.sbss) *(.scommon) } | |
112 | .bss : | |
113 | { | |
114 | *(.dynbss) | |
115 | *(.bss) | |
116 | *(COMMON) | |
117 | } | |
118 | _end = . ; | |
119 | PROVIDE (end = .); | |
120 | /* Stabs debugging sections. */ | |
121 | .stab 0 : { *(.stab) } | |
122 | .stabstr 0 : { *(.stabstr) } | |
123 | .stab.excl 0 : { *(.stab.excl) } | |
124 | .stab.exclstr 0 : { *(.stab.exclstr) } | |
125 | .stab.index 0 : { *(.stab.index) } | |
126 | .stab.indexstr 0 : { *(.stab.indexstr) } | |
127 | .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. */ | |
131 | /* DWARF 1 */ | |
132 | .debug 0 : { *(.debug) } | |
133 | .line 0 : { *(.line) } | |
134 | /* GNU DWARF 1 extensions */ | |
135 | .debug_srcinfo 0 : { *(.debug_srcinfo) } | |
136 | .debug_sfnames 0 : { *(.debug_sfnames) } | |
137 | /* DWARF 1.1 and DWARF 2 */ | |
138 | .debug_aranges 0 : { *(.debug_aranges) } | |
139 | .debug_pubnames 0 : { *(.debug_pubnames) } | |
140 | /* DWARF 2 */ | |
141 | .debug_info 0 : { *(.debug_info) } | |
142 | .debug_abbrev 0 : { *(.debug_abbrev) } | |
143 | .debug_line 0 : { *(.debug_line) } | |
144 | .debug_frame 0 : { *(.debug_frame) } | |
145 | .debug_str 0 : { *(.debug_str) } | |
146 | .debug_loc 0 : { *(.debug_loc) } | |
147 | .debug_macinfo 0 : { *(.debug_macinfo) } | |
148 | /* SGI/MIPS DWARF 2 extensions */ | |
149 | .debug_weaknames 0 : { *(.debug_weaknames) } | |
150 | .debug_funcnames 0 : { *(.debug_funcnames) } | |
151 | .debug_typenames 0 : { *(.debug_typenames) } | |
152 | .debug_varnames 0 : { *(.debug_varnames) } | |
153 | /* These must appear regardless of . */ | |
154 | } |