1 /* $NetBSD: kern.ldscript,v 1.3 2007/10/17 19:53:03 garbled Exp $ */
3 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
5 OUTPUT_ARCH(i386:x86-64)
9 /* Read-only sections, merged into text segment: */
21 AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
27 /* Adjust the address for the data segment. We want to adjust up to
28 the same address within the page on the next page up. */
29 . = ALIGN(0x100000) + (. & (0x100000 - 1));
32 AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
41 AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
53 KEEP(*(.note.netbsd.ident));