Re: RFC: ELF branding. looking to a ".note.ABI-tag" section

From: Chagin Dmitry <dchagin_at_freebsd.org>
Date: Tue, 6 Jan 2009 22:59:03 +0300
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
Received on Tue Jan 06 2009 - 18:59:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC