Use the kernbase symbol exported from locore.o instead of hardcoded magic

numbers.
This commit is contained in:
peter 2001-09-20 09:19:38 +00:00
parent d9bfebcabd
commit ae3d3ecaf9

View File

@ -3,11 +3,11 @@ OUTPUT_FORMAT("elf64-alpha", "elf64-alpha", "elf64-alpha")
OUTPUT_ARCH(alpha)
ENTRY(__start)
SEARCH_DIR(/usr/lib);
kernel_text = 0xfffffc0000300000;
kernel_text = kernbase;
SECTIONS
{
/* Read-only sections, merged into text segment: */
. = 0xfffffc0000300000 + SIZEOF_HEADERS;
. = kernbase + SIZEOF_HEADERS;
.interp : { *(.interp) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }