From owner-freebsd-stable@FreeBSD.ORG Fri Jan 18 05:57:58 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A043E16A420 for ; Fri, 18 Jan 2008 05:57:58 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0FD5E13C442 for ; Fri, 18 Jan 2008 05:57:57 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m0I5vtQd000838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Jan 2008 16:57:56 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m0I5vtfZ077857; Fri, 18 Jan 2008 16:57:55 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m0I5vst1077856; Fri, 18 Jan 2008 16:57:54 +1100 (EST) (envelope-from peter) Date: Fri, 18 Jan 2008 16:57:54 +1100 From: Peter Jeremy To: "Daniel O'Connor" Message-ID: <20080118055754.GV929@server.vk2pj.dyndns.org> References: <200801171410.38488.doconnor@gsoft.com.au> <200801171528.38186.jhb@freebsd.org> <200801180817.49452.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="54u2kuW9sGWg/X+X" Content-Disposition: inline In-Reply-To: <200801180817.49452.doconnor@gsoft.com.au> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: kldstat causes kernel to print odd message X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 05:57:58 -0000 --54u2kuW9sGWg/X+X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 18, 2008 at 08:17:40AM +1030, Daniel O'Connor wrote: >On Fri, 18 Jan 2008, John Baldwin wrote: >> amd64 uses link_elf_obj.c, all the other archs use link_elf.c, hence >> the duplication. Then why does amd64 need link_elf.c at all? >I guess one option would be to put #ifdef amd64 around the error message= =20 >in link_elf.c. If there's a possibility that multiple ELF linkers could be required in the future, a cleaner option might be to make link_elf_error() just cache the error message and only report it after all possible linkers have refused to load the file. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --54u2kuW9sGWg/X+X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHkD/i/opHv/APuIcRAnVxAJ9b8a+n1nH1lW4I3kEkFrjLUK3MmwCfRF+E iGXIi8Rrok/v4i6fcECXwDo= =0r4L -----END PGP SIGNATURE----- --54u2kuW9sGWg/X+X--