From owner-freebsd-current@FreeBSD.ORG Tue Jan 6 19:59:12 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7775D106566B for ; Tue, 6 Jan 2009 19:59:12 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2CA738FC1E for ; Tue, 6 Jan 2009 19:59:11 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 6D0C63E7D6; Tue, 6 Jan 2009 22:59:09 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from dchagin.dialup.corbina.ru ([78.107.232.239] verified) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1554964813; Tue, 06 Jan 2009 22:59:09 +0300 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.3/8.14.3) with ESMTP id n06Jx8pQ051857; Tue, 6 Jan 2009 22:59:09 +0300 (MSK) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.3/8.14.3/Submit) id n06Jx3wo051856; Tue, 6 Jan 2009 22:59:03 +0300 (MSK) (envelope-from root) Date: Tue, 6 Jan 2009 22:59:03 +0300 From: Chagin Dmitry To: "Pedro F. Giffuni" Message-ID: <20090106195903.GA51780@dchagin.dialup.corbina.ru> References: <25454.95171.qm@web32702.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25454.95171.qm@web32702.mail.mud.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@freebsd.org Subject: Re: RFC: ELF branding. looking to a ".note.ABI-tag" section X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 19:59:12 -0000 On Tue, Jan 06, 2009 at 09:38:35AM -0800, Pedro F. Giffuni wrote: > Hi; > > As the author of kern/118473 I think that ELF notes for brand-ELFing is a useless non standard hack. I do understand that we want to teach our linuxulator about GNU ELF notes, but why would we want to use them for FreeBSD binaries? > > If you follow the posting on the lists by John Polstra and ELF spec you will find we don't need ELF notes. There is also a thread in some binutils list that made me conclude the reason they chose for not using the standard way was "NIH". > > Pedro. > Hi, I don't think so. We already use this for native binaries. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/imgact_elf.c.diff?r1=1.181;r2=1.182 -- Have fun! chd