From owner-p4-projects@FreeBSD.ORG Wed Jan 2 21:13:43 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C848316A418; Wed, 2 Jan 2008 21:13:42 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89FBE16A46B for ; Wed, 2 Jan 2008 21:13:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 3329813C4E8 for ; Wed, 2 Jan 2008 21:13:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8q) with ESMTP id 227059532-1834499 for multiple; Wed, 02 Jan 2008 16:11:34 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id m02LDSoB019776; Wed, 2 Jan 2008 16:13:29 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: John Birrell Date: Wed, 2 Jan 2008 16:13:34 -0500 User-Agent: KMail/1.9.6 References: <200712310531.lBV5VvH3092205@repoman.freebsd.org> <200801021412.09276.jhb@freebsd.org> <20080102203913.GA44121@what-creek.com> In-Reply-To: <20080102203913.GA44121@what-creek.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801021613.35446.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 02 Jan 2008 16:13:29 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5343/Wed Jan 2 12:41:01 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: perforce@freebsd.org, "M. Warner Losh" Subject: Re: PERFORCE change 132153 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 21:13:43 -0000 On Wednesday 02 January 2008 03:39:13 pm John Birrell wrote: > On Wed, Jan 02, 2008 at 02:12:08PM -0500, John Baldwin wrote: > > amd64 uses the equivalent of a .o for klds whereas other archs > > use the equivalent of a .so. Hence link_elf.c (shared object for !amd64) and > > link_elf_object.c (handles plain object files). Other platforms could be > > switched to using plain objects IIRC, they are just using .so for their > > default. > > So I assume then that the amd64 .o is doesn't need to be relocated on load > which was why I needed to find the program header on i386. It would appear from the link_elf_obj.c code that .o files are relocated on load. -- John Baldwin