From d7ffc0023d8a31fb904537b2f13678ed98caf0bc Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 18 Sep 2001 01:12:43 +0000 Subject: Remove hard coded magic load address. Now to change the load address, we just have to change the pmap.h constants and ld will automatically adapt based on the "kernbase" symbol. --- sys/conf/ldscript.amd64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/conf/ldscript.amd64') diff --git a/sys/conf/ldscript.amd64 b/sys/conf/ldscript.amd64 index a42b8fa70c12..41360ea27ba3 100644 --- a/sys/conf/ldscript.amd64 +++ b/sys/conf/ldscript.amd64 @@ -6,7 +6,7 @@ SEARCH_DIR(/usr/lib); SECTIONS { /* Read-only sections, merged into text segment: */ - . = 0xc0100000 + SIZEOF_HEADERS; + . = kernbase + 0x00100000 + SIZEOF_HEADERS; .interp : { *(.interp) } .hash : { *(.hash) } .dynsym : { *(.dynsym) } -- cgit v1.3