Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 1997 00:43:15 +0930
From:      Mike Smith <mike@smith.net.au>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Doug Rabson's kernel linker code.. 
Message-ID:  <199710231513.AAA00747@word.smith.net.au>
In-Reply-To: Your message of "Sat, 18 Oct 1997 01:47:31 MST." <19971018014731.31913@hydrogen.nike.efn.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

Sorry about the delay here.

> well.. I was reading through the code to get a better understand of
> it.. and I think that we need to export the make variable LOAD_ADDRESS
> from the Makefile to kernel, as the file kern/link_aout.c has this same
> value hard coded in it...
> 
> should something like:
> load_address.h:
> 	echo "#define LOAD_ADDRESS ${LOAD_ADDRESS}" > ${.TARGET}
> 
> and include it from kern_link_aout.c?

Do you want to do this, or set it at runtime based on the real load 
address?  I realise that at the moment the load address is fixed by the 
link phase...

mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710231513.AAA00747>