From owner-freebsd-current Thu Oct 23 08:17:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA03248 for current-outgoing; Thu, 23 Oct 1997 08:17:08 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA03241 for ; Thu, 23 Oct 1997 08:17:04 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id AAA00747; Fri, 24 Oct 1997 00:43:17 +0930 (CST) Message-Id: <199710231513.AAA00747@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: John-Mark Gurney cc: FreeBSD Current Subject: Re: Doug Rabson's kernel linker code.. In-reply-to: Your message of "Sat, 18 Oct 1997 01:47:31 MST." <19971018014731.31913@hydrogen.nike.efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 Oct 1997 00:43:15 +0930 From: Mike Smith Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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