]>
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 | { | |
12 | *(.text) | |
13 | *(.text.*) | |
14 | *(.gnu.linkonce.t.*) | |
15 | } | |
16 | .reloc : | |
17 | { | |
18 | *(.reloc) | |
19 | } | |
20 | . = ALIGN(4096); | |
21 | .data : | |
22 | { | |
23 | *(.rodata*) | |
24 | *(.data) | |
25 | *(.data1) | |
26 | *(.data.*) | |
27 | *(.sdata) | |
28 | *(.got.plt) | |
29 | *(.got) | |
30 | /* the EFI loader doesn't seem to like a .bss section, so we stick | |
31 | it all into .data: */ | |
32 | *(.sbss) | |
33 | *(.scommon) | |
34 | *(.dynbss) | |
35 | *(.bss) | |
36 | *(COMMON) | |
37 | } | |
38 | . = ALIGN(4096); | |
39 | .vendor_cert : | |
40 | { | |
41 | *(.vendor_cert) | |
42 | } | |
43 | . = ALIGN(4096); | |
44 | .dynamic : { *(.dynamic) } | |
45 | . = ALIGN(4096); | |
46 | .rel : | |
47 | { | |
48 | *(.rel.data) | |
49 | *(.rel.data.*) | |
50 | *(.rel.got) | |
51 | *(.rel.stab) | |
52 | *(.data.rel.ro.local) | |
53 | *(.data.rel.local) | |
54 | *(.data.rel.ro) | |
55 | *(.data.rel*) | |
56 | } | |
57 | . = ALIGN(4096); | |
58 | .dynsym : { *(.dynsym) } | |
59 | . = ALIGN(4096); | |
60 | .dynstr : { *(.dynstr) } | |
61 | . = ALIGN(4096); | |
62 | /DISCARD/ : | |
63 | { | |
64 | *(.rel.reloc) | |
65 | *(.eh_frame) | |
66 | *(.note.GNU-stack) | |
67 | } | |
68 | .comment 0 : { *(.comment) } | |
69 | } |