From 79d8adaf4e14fb8a7c7ce80c8fd5629aa2f751b5 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 20 Sep 2001 09:19:38 +0000 Subject: [PATCH] Use the kernbase symbol exported from locore.o instead of hardcoded magic numbers. --- sys/conf/ldscript.alpha | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/conf/ldscript.alpha b/sys/conf/ldscript.alpha index a0e05478787..8fbb315ef21 100644 --- a/sys/conf/ldscript.alpha +++ b/sys/conf/ldscript.alpha @@ -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) }