From owner-freebsd-current Thu Oct 23 09:41:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA09235 for current-outgoing; Thu, 23 Oct 1997 09:41:47 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA09225 for ; Thu, 23 Oct 1997 09:41:42 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id JAA17015; Thu, 23 Oct 1997 09:41:20 -0700 (PDT) Message-ID: <19971023094120.57364@hydrogen.nike.efn.org> Date: Thu, 23 Oct 1997 09:41:20 -0700 From: John-Mark Gurney To: Mike Smith Cc: FreeBSD Current Subject: Re: Doug Rabson's kernel linker code.. References: <19971018014731.31913@hydrogen.nike.efn.org> <199710231513.AAA00747@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199710231513.AAA00747@word.smith.net.au>; from Mike Smith on Fri, Oct 24, 1997 at 12:43:15AM +0930 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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