]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Scripts/gcc4.4-ld-script
bb5b7d16c36ffcaeb1723ee578ce199c4fed9611
[mirror_edk2.git] / BaseTools / Scripts / gcc4.4-ld-script
1 /* OUTPUT_FORMAT(efi-bsdrv-x86_64) */
2 SECTIONS
3 {
4 /* . = 0 + SIZEOF_HEADERS; */
5 . = 0x280;
6 .text ALIGN(0x20) :
7 {
8 *(.text .stub .text.* .gnu.linkonce.t.*)
9 . = ALIGN(0x20);
10 } =0x90909090
11 .data ALIGN(0x20) :
12 {
13 *(
14 .rodata .rodata.* .gnu.linkonce.r.*
15 .data .data.* .gnu.linkonce.d.*
16 )
17 . = ALIGN(0x20);
18 }
19 .bss ALIGN(0x20) :
20 {
21 *(.bss .bss.*)
22 . = ALIGN(0x20);
23 }
24 .got ALIGN(0x20) :
25 {
26 *(.got .got.*)
27 . = ALIGN(0x20);
28 }
29 .rela ALIGN(0x20) :
30 {
31 *(.rela .rela.*)
32 }
33 /DISCARD/ : {
34 *(.note.GNU-stack) *(.gnu_debuglink)
35 *(.interp)
36 *(.dynsym)
37 *(.dynstr)
38 *(.dynamic)
39 *(.hash)
40 *(.comment)
41 }
42 }
43