Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2009 22:59:03 +0300
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        "Pedro F. Giffuni" <giffunip@tutopia.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: RFC: ELF branding. looking to a ".note.ABI-tag" section
Message-ID:  <20090106195903.GA51780@dchagin.dialup.corbina.ru>
In-Reply-To: <25454.95171.qm@web32702.mail.mud.yahoo.com>
References:  <25454.95171.qm@web32702.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090106195903.GA51780>