1/* $FreeBSD: stable/11/sys/conf/ldscript.amd64 317145 2017-04-19 15:33:24Z emaste $ */
| 1/* $FreeBSD: stable/11/sys/conf/ldscript.amd64 324510 2017-10-11 00:31:54Z emaste $ */
|
2OUTPUT_FORMAT("elf64-x86-64-freebsd", "elf64-x86-64-freebsd", "elf64-x86-64-freebsd") 3OUTPUT_ARCH(i386:x86-64) 4ENTRY(btext) 5SEARCH_DIR("/usr/lib"); 6SECTIONS 7{ 8 /* Read-only sections, merged into text segment: */
| 2OUTPUT_FORMAT("elf64-x86-64-freebsd", "elf64-x86-64-freebsd", "elf64-x86-64-freebsd") 3OUTPUT_ARCH(i386:x86-64) 4ENTRY(btext) 5SEARCH_DIR("/usr/lib"); 6SECTIONS 7{ 8 /* Read-only sections, merged into text segment: */
|
9 kernphys = CONSTANT (MAXPAGESIZE);
| 9 kernphys = 0x200000;
|
10 . = kernbase + kernphys + SIZEOF_HEADERS; 11 /* 12 * Use the AT keyword in order to set the right LMA that contains 13 * the physical address where the section should be loaded. This is 14 * needed for the Xen loader which honours the LMA. 15 */ 16 .interp : AT (kernphys + SIZEOF_HEADERS) { *(.interp) } 17 .hash : { *(.hash) }
--- 219 unchanged lines hidden --- | 10 . = kernbase + kernphys + SIZEOF_HEADERS; 11 /* 12 * Use the AT keyword in order to set the right LMA that contains 13 * the physical address where the section should be loaded. This is 14 * needed for the Xen loader which honours the LMA. 15 */ 16 .interp : AT (kernphys + SIZEOF_HEADERS) { *(.interp) } 17 .hash : { *(.hash) }
--- 219 unchanged lines hidden --- |