Link the kernel at the PBVM base address and align the data segment
at the PBVM page boundary.
This commit is contained in:
parent
6097660fbc
commit
f380bcfab5
@ -3,7 +3,7 @@ OUTPUT_FORMAT("elf64-ia64-freebsd", "elf64-ia64-freebsd", "elf64-ia64-freebsd")
|
||||
OUTPUT_ARCH(ia64)
|
||||
ENTRY(__start)
|
||||
SEARCH_DIR(/usr/lib);
|
||||
kernel_text = 0xe000003400000000; /* XXX_ALTIX_TODO */
|
||||
kernel_text = 0x9ffc000000000000;
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
@ -55,12 +55,12 @@ SECTIONS
|
||||
.opd : { *(.opd) }
|
||||
.IA_64.unwind_info : { *(.IA_64.unwind_info* .gnu.linkonce.ia64unwi.*) }
|
||||
.IA_64.unwind : { *(.IA_64.unwind* .gnu.linkonce.ia64unw.*) }
|
||||
/* Adjust the address for the data segment. We want to adjust up to
|
||||
the same address within the page on the next page up. */
|
||||
. = . + 8192;
|
||||
/* Adjust the address for the data segment. We want to start in the next
|
||||
page in the loader virtual memory. */
|
||||
. = ALIGN(65536);
|
||||
.data :
|
||||
{
|
||||
*(.data.proc0 .data .data.* .gnu.linkonce.d.*)
|
||||
*(.data.kstack .data .data.* .gnu.linkonce.d.*)
|
||||
SORT(CONSTRUCTORS)
|
||||
}
|
||||
.data1 : { *(.data1) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user