]> git.proxmox.com Git - efi-boot-shim.git/blob - elf_ia64_efi.lds
Improve how the dbx hashes are handled
[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
38 . = ALIGN(4096);
39 .data :
40 {
41 *(.rodata*)
42 *(.ctors)
43 *(.data*)
44 *(.gnu.linkonce.d*)
45 *(.plabel) /* data whose relocs we want to ignore */
46 /* the EFI loader doesn't seem to like a .bss section, so we stick
47 it all into .data: */
48 *(.dynbss)
49 *(.bss)
50 *(COMMON)
51 }
52
53 . = ALIGN(4096);
54 .vendor_cert :
55 {
56 *(.vendor_cert)
57 }
58 . = ALIGN(4096);
59 .sbat :
60 {
61 _sbat = .;
62 *(.sbat)
63 *(.sbat.*)
64 _esbat = .;
65 }
66 . = ALIGN(4096);
67 .dynamic : { *(.dynamic) }
68 . = ALIGN(4096);
69 .rela :
70 {
71 *(.rela.text)
72 *(.rela.data*)
73 *(.rela.sdata)
74 *(.rela.got)
75 *(.rela.gnu.linkonce.d*)
76 *(.rela.stab)
77 *(.rela.ctors)
78 }
79 _edata = .;
80 _data_size = . - _data;
81 . = ALIGN(4096);
82 .reloc : /* This is the PECOFF .reloc section! */
83 {
84 *(.reloc)
85 }
86 . = ALIGN(4096);
87 .dynsym : { *(.dynsym) }
88 . = ALIGN(4096);
89 .dynstr : { *(.dynstr) }
90 /DISCARD/ :
91 {
92 *(.rela.plabel)
93 *(.rela.reloc)
94 *(.IA_64.unwind*)
95 *(.IA64.unwind*)
96 }
97 .note.gnu.build-id : { *(.note.gnu.build-id) }
98 }