]>
Commit | Line | Data |
---|---|---|
fa525bc4 AB |
1 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") |
2 | OUTPUT_ARCH(arm) | |
3 | ENTRY(_start) | |
4 | SECTIONS | |
5 | { | |
6 | .text 0x0 : { | |
a0319607 | 7 | _text = .; |
fa525bc4 AB |
8 | *(.text.head) |
9 | *(.text) | |
10 | *(.text.*) | |
11 | *(.gnu.linkonce.t.*) | |
12 | *(.srodata) | |
13 | *(.rodata*) | |
14 | . = ALIGN(16); | |
15 | _etext = .; | |
16 | } | |
17 | .dynamic : { *(.dynamic) } | |
4990d3fb PJ |
18 | |
19 | . = ALIGN(4096); | |
20 | .note.gnu.build-id : { | |
21 | *(.note.gnu.build-id) | |
22 | } | |
5c3bf329 PJ |
23 | |
24 | . = ALIGN(4096); | |
4990d3fb PJ |
25 | .data.ident : { |
26 | *(.data.ident) | |
27 | } | |
28 | ||
29 | . = ALIGN(4096); | |
fa525bc4 AB |
30 | .data : |
31 | { | |
a0319607 | 32 | _data = .; |
fa525bc4 AB |
33 | *(.sdata) |
34 | *(.data) | |
35 | *(.data1) | |
14acaa4a | 36 | *(.data*) |
fa525bc4 AB |
37 | *(.got.plt) |
38 | *(.got) | |
39 | ||
40 | /* the EFI loader doesn't seem to like a .bss section, so we stick | |
41 | it all into .data: */ | |
42 | . = ALIGN(16); | |
43 | _bss = .; | |
44 | *(.sbss) | |
45 | *(.scommon) | |
46 | *(.dynbss) | |
47 | *(.bss) | |
48 | *(COMMON) | |
49 | . = ALIGN(16); | |
50 | _bss_end = .; | |
51 | } | |
52 | ||
4990d3fb | 53 | . = ALIGN(4096); |
fa525bc4 AB |
54 | .vendor_cert : |
55 | { | |
56 | *(.vendor_cert) | |
57 | } | |
58 | . = ALIGN(4096); | |
6d13718c JMC |
59 | .sbat : |
60 | { | |
61 | _sbat = .; | |
62 | *(.sbat) | |
dd707859 | 63 | *(.sbat.*) |
6d13718c JMC |
64 | _esbat = .; |
65 | } | |
5c3bf329 PJ |
66 | . = ALIGN(4096); |
67 | .rel : | |
68 | { | |
69 | *(.rel.dyn) | |
70 | *(.rel.plt) | |
71 | *(.rel.got) | |
72 | *(.rel.data) | |
73 | *(.rel.data*) | |
74 | } | |
fa525bc4 | 75 | _edata = .; |
a0319607 | 76 | _data_size = . - _data; |
fa525bc4 AB |
77 | |
78 | . = ALIGN(4096); | |
79 | .dynsym : { *(.dynsym) } | |
80 | . = ALIGN(4096); | |
81 | .dynstr : { *(.dynstr) } | |
82 | . = ALIGN(4096); | |
83 | /DISCARD/ : | |
84 | { | |
85 | *(.rel.reloc) | |
86 | *(.eh_frame) | |
87 | *(.note.GNU-stack) | |
88 | } | |
89 | .comment 0 : { *(.comment) } | |
90 | } |