ldscript.amd64 (10c51654ef53761b35a72d8c2d63c3c8b8658210) ldscript.amd64 (c4698dec73a4a95ae8649be552485e874758346c)
1/* $FreeBSD$ */
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: */
1/* $FreeBSD$ */
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 = 0x200000;
9 kernphys = 0x200000; /* 2MB superpage size */
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) }

--- 224 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) }

--- 224 unchanged lines hidden ---