]> git.proxmox.com Git - efi-boot-shim.git/blob - elf_ia64_efi.lds
Force usage of newest revocations at build time
[efi-boot-shim.git] / elf_ia64_efi.lds
1 OUTPUT_FORMAT("elf64-ia64-little")
2 OUTPUT_ARCH(ia64)
3 ENTRY(_start_plabel)
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 *(.text.*)
15 *(.gnu.linkonce.t.*)
16 _etext = .;
17 }
18 . = ALIGN(4096);
19 __gp = ALIGN (8) + 0x200000;
20 .sdata :
21 {
22 _data = .;
23 *(.got.plt)
24 *(.got)
25 *(.srodata)
26 *(.sdata)
27 *(.sbss)
28 *(.scommon)
29 }
30 . = ALIGN(4096);
31 .note.gnu.build-id : {
32 *(.note.gnu.build-id)
33 }
34 .data.ident : {
35 *(.data.ident)
36 }
37 . = ALIGN(4096);
38 .sbatlevel : {
39 *(.sbatlevel)
40 }
41
42 . = ALIGN(4096);
43 .data :
44 {
45 *(.rodata*)
46 *(.ctors)
47 *(.data*)
48 *(.gnu.linkonce.d*)
49 *(.plabel) /* data whose relocs we want to ignore */
50 /* the EFI loader doesn't seem to like a .bss section, so we stick
51 it all into .data: */
52 *(.dynbss)
53 *(.bss)
54 *(COMMON)
55 }
56
57 . = ALIGN(4096);
58 .vendor_cert :
59 {
60 *(.vendor_cert)
61 }
62 . = ALIGN(4096);
63 .dynamic : { *(.dynamic) }
64 . = ALIGN(4096);
65 .rela :
66 {
67 *(.rela.text)
68 *(.rela.data*)
69 *(.rela.sdata)
70 *(.rela.got)
71 *(.rela.gnu.linkonce.d*)
72 *(.rela.stab)
73 *(.rela.ctors)
74 }
75 _edata = .;
76 _data_size = . - _data;
77 . = ALIGN(4096);
78 .sbat :
79 {
80 _sbat = .;
81 *(.sbat)
82 *(.sbat.*)
83 }
84 _esbat = .;
85 _sbat_size = . - _sbat;
86
87 . = ALIGN(4096);
88 .reloc : /* This is the PECOFF .reloc section! */
89 {
90 *(.reloc)
91 }
92 . = ALIGN(4096);
93 .dynsym : { *(.dynsym) }
94 . = ALIGN(4096);
95 .dynstr : { *(.dynstr) }
96 /DISCARD/ :
97 {
98 *(.rela.plabel)
99 *(.rela.reloc)
100 *(.IA_64.unwind*)
101 *(.IA64.unwind*)
102 }
103 .note.gnu.build-id : { *(.note.gnu.build-id) }
104 }