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

Chagin Dmitry dchagin at freebsd.org
Tue Jan 6 11:59:12 PST 2009


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


More information about the freebsd-current mailing list