Pick an arbitrary address to load the kernel at. 1MB seems as good as

any other.
This commit is contained in:
Warner Losh 2009-08-15 19:43:15 +00:00
parent 6d53fe9b81
commit b0f42e724a

View File

@ -43,7 +43,7 @@ PROVIDE (_DYNAMIC = 0);
SECTIONS
{
/* Read-only sections, merged into text segment: */
. = KERNLOADADDR + SIZEOF_HEADERS;
. = 0x80100000 + SIZEOF_HEADERS;
.interp : { *(.interp) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }