]>
Commit | Line | Data |
---|---|---|
c682b514 PJ |
1 | OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") |
2 | OUTPUT_ARCH(i386) | |
3 | ENTRY(_start) | |
4 | SECTIONS | |
5 | { | |
6 | . = 0; | |
7 | ImageBase = .; | |
8 | .hash : { *(.hash) } /* this MUST come first! */ | |
9 | . = ALIGN(4096); | |
10 | .text : | |
11 | { | |
d3819813 | 12 | _text = .; |
c682b514 PJ |
13 | *(.text) |
14 | *(.text.*) | |
15 | *(.gnu.linkonce.t.*) | |
d3819813 | 16 | _etext = .; |
c682b514 PJ |
17 | } |
18 | .reloc : | |
19 | { | |
20 | *(.reloc) | |
21 | } | |
f4173af1 MTL |
22 | . = ALIGN(4096); |
23 | .note.gnu.build-id : { | |
24 | *(.note.gnu.build-id) | |
25 | } | |
26 | . = ALIGN(4096); | |
27 | .data.ident : { | |
28 | *(.data.ident) | |
29 | } | |
30 | ||
c682b514 PJ |
31 | . = ALIGN(4096); |
32 | .data : | |
33 | { | |
d3819813 | 34 | _data = .; |
c682b514 PJ |
35 | *(.rodata*) |
36 | *(.data) | |
37 | *(.data1) | |
38 | *(.data.*) | |
39 | *(.sdata) | |
40 | *(.got.plt) | |
41 | *(.got) | |
42 | /* the EFI loader doesn't seem to like a .bss section, so we stick | |
43 | it all into .data: */ | |
44 | *(.sbss) | |
45 | *(.scommon) | |
46 | *(.dynbss) | |
47 | *(.bss) | |
48 | *(COMMON) | |
49 | } | |
f4173af1 | 50 | |
c682b514 PJ |
51 | . = ALIGN(4096); |
52 | .vendor_cert : | |
53 | { | |
54 | *(.vendor_cert) | |
55 | } | |
56 | . = ALIGN(4096); | |
57 | .dynamic : { *(.dynamic) } | |
58 | . = ALIGN(4096); | |
59 | .rel : | |
60 | { | |
61 | *(.rel.data) | |
62 | *(.rel.data.*) | |
63 | *(.rel.got) | |
64 | *(.rel.stab) | |
65 | *(.data.rel.ro.local) | |
66 | *(.data.rel.local) | |
67 | *(.data.rel.ro) | |
68 | *(.data.rel*) | |
69 | } | |
d3819813 MTL |
70 | _edata = .; |
71 | _data_size = . - _data; | |
c682b514 PJ |
72 | . = ALIGN(4096); |
73 | .dynsym : { *(.dynsym) } | |
74 | . = ALIGN(4096); | |
75 | .dynstr : { *(.dynstr) } | |
76 | . = ALIGN(4096); | |
77 | /DISCARD/ : | |
78 | { | |
79 | *(.rel.reloc) | |
80 | *(.eh_frame) | |
81 | *(.note.GNU-stack) | |
82 | } | |
83 | .comment 0 : { *(.comment) } | |
84 | } |