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.
This commit is contained in:
Peter Wemm 2001-09-18 01:12:43 +00:00
parent 1d083681bc
commit d7ffc0023d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83598
2 changed files with 2 additions and 2 deletions

View File

@ -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) }

View File

@ -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) }