Date: Thu, 23 Oct 1997 09:41:20 -0700 From: John-Mark Gurney <gurney_j@efn.org> To: Mike Smith <mike@smith.net.au> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Doug Rabson's kernel linker code.. Message-ID: <19971023094120.57364@hydrogen.nike.efn.org> In-Reply-To: <199710231513.AAA00747@word.smith.net.au>; from Mike Smith on Fri, Oct 24, 1997 at 12:43:15AM %2B0930 References: <19971018014731.31913@hydrogen.nike.efn.org> <199710231513.AAA00747@word.smith.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith scribbled this message on Oct 24: > > 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... actually... I need the information about the kernel's address and the size of it... right now it just uses a constant of 0xf0100000 and the size is the negative of that... I'm not sure if this information is actually used, or is just kept for consistancy... and I don't need the information till SI_SUB_KMEM... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971023094120.57364>