ldscript.amd64 (244332) | ldscript.amd64 (264095) |
---|---|
1/* $FreeBSD: head/sys/boot/i386/efi/ldscript.amd64 244332 2012-12-17 00:34:07Z rpaulo $ */ | 1/* $FreeBSD: head/sys/boot/amd64/efi/ldscript.amd64 264095 2014-04-04 00:16:46Z emaste $ */ |
2OUTPUT_FORMAT("elf64-x86-64-freebsd", "elf64-x86-64-freebsd", "elf64-x86-64-freebsd") 3OUTPUT_ARCH(i386:x86-64) 4ENTRY(_start) 5SECTIONS 6{ 7 /* Read-only sections, merged into text segment: */ 8 . = 0; 9 ImageBase = .; | 2OUTPUT_FORMAT("elf64-x86-64-freebsd", "elf64-x86-64-freebsd", "elf64-x86-64-freebsd") 3OUTPUT_ARCH(i386:x86-64) 4ENTRY(_start) 5SECTIONS 6{ 7 /* Read-only sections, merged into text segment: */ 8 . = 0; 9 ImageBase = .; |
10 . = SIZEOF_HEADERS; | 10 .hash : { *(.hash) } /* this MUST come first! */ |
11 . = ALIGN(4096); | 11 . = ALIGN(4096); |
12 .eh_frame : { | 12 .eh_frame : 13 { |
13 *(.eh_frame) | 14 *(.eh_frame) |
14 } | 15 } 16 . = ALIGN(4096); |
15 .text : { 16 *(.text .stub .text.* .gnu.linkonce.t.*) 17 /* .gnu.warning sections are handled specially by elf32.em. */ 18 *(.gnu.warning) 19 *(.plt) 20 } =0x00300000010070000002000001000400 21 . = ALIGN(4096); 22 .data : { --- 23 unchanged lines hidden (view full) --- 46 *(dynsbss) 47 *(.sbss .sbss.* .gnu.linkonce.sb.*) 48 *(.scommon) 49 } 50 . = ALIGN(4096); 51 .dynamic : { *(.dynamic) } 52 . = ALIGN(4096); 53 .rela.dyn : { | 17 .text : { 18 *(.text .stub .text.* .gnu.linkonce.t.*) 19 /* .gnu.warning sections are handled specially by elf32.em. */ 20 *(.gnu.warning) 21 *(.plt) 22 } =0x00300000010070000002000001000400 23 . = ALIGN(4096); 24 .data : { --- 23 unchanged lines hidden (view full) --- 48 *(dynsbss) 49 *(.sbss .sbss.* .gnu.linkonce.sb.*) 50 *(.scommon) 51 } 52 . = ALIGN(4096); 53 .dynamic : { *(.dynamic) } 54 . = ALIGN(4096); 55 .rela.dyn : { |
54 *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) 55 *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) 56 *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) | 56 *(.rela.data*) |
57 *(.rela.got) | 57 *(.rela.got) |
58 *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) 59 *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*) 60 *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) 61 *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) 62 *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) 63 *(.rela.plt) 64 *(.relset_*) 65 *(.rela.dyn .rela.dyn.*) | 58 *(.rela.stab) 59 *(.relaset_*) |
66 } 67 . = ALIGN(4096); 68 .reloc : { *(.reloc) } 69 . = ALIGN(4096); | 60 } 61 . = ALIGN(4096); 62 .reloc : { *(.reloc) } 63 . = ALIGN(4096); |
70 .hash : { *(.hash) } 71 . = ALIGN(4096); | |
72 .dynsym : { *(.dynsym) } 73 . = ALIGN(4096); 74 .dynstr : { *(.dynstr) } 75} | 64 .dynsym : { *(.dynsym) } 65 . = ALIGN(4096); 66 .dynstr : { *(.dynstr) } 67} |