From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 26 20:53:25 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A06371065670; Sat, 26 Jun 2010 20:53:25 +0000 (UTC) (envelope-from rpaulo@freebsd.org) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 400B98FC15; Sat, 26 Jun 2010 20:53:25 +0000 (UTC) Received: from e.earth.lavabit.com (e.earth.lavabit.com [192.168.111.14]) by karen.lavabit.com (Postfix) with ESMTP id 6D3A418F39B; Sat, 26 Jun 2010 15:32:00 -0500 (CDT) Received: from 10.0.10.3 (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by lavabit.com with ESMTP id N0S35NBA68I9; Sat, 26 Jun 2010 15:31:58 -0500 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <4C2476A1.1080307@freebsd.org> Date: Sat, 26 Jun 2010 21:31:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <99843999-233B-4E07-B815-9808B85B599A@freebsd.org> References: <4C1F798C.7010204@freebsd.org> <201006211143.26459.jhb@freebsd.org> <4C1F8BDD.9010408@freebsd.org> <201006211610.45811.jhb@freebsd.org> <20100621204435.GA98177@hub.freebsd.org> <4C1FDAF9.3080808@freebsd.org> <4C208096.3030602@freebsd.org> <4C2476A1.1080307@freebsd.org> To: Andriy Gapon X-Mailer: Apple Mail (2.1081) Cc: freebsd-hackers@freebsd.org, Navdeep Parhar , freebsd-amd64@freebsd.org Subject: Re: amd64 kernel modules: mapping sections to addresses X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 20:53:25 -0000 On 25 Jun 2010, at 10:28, Andriy Gapon wrote: >=20 > Here's a patch that is supposed to do the right thing for dtrace. > Perhaps I should have put the new code under __amd64__, but I decided = to go more > "generic" and check for module's ELF type (ET_REL). >=20 > Reviews and testing are welcome! I believe this is good to go. Regards, -- Rui Paulo