From owner-p4-projects@FreeBSD.ORG Wed Jan 2 20:52:57 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8346216A420; Wed, 2 Jan 2008 20:52:57 +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 483FF16A419; Wed, 2 Jan 2008 20:52:57 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 206D913C447; Wed, 2 Jan 2008 20:52:56 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 483BF7321F; Wed, 2 Jan 2008 20:39:13 +0000 (GMT) Date: Wed, 2 Jan 2008 20:39:13 +0000 From: John Birrell To: John Baldwin Message-ID: <20080102203913.GA44121@what-creek.com> References: <200712310531.lBV5VvH3092205@repoman.freebsd.org> <20080101.120601.106977236.imp@bsdimp.com> <200801021412.09276.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801021412.09276.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i 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 20:52:57 -0000 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. -- John Birrell