svn commit: r189771 - in head/sys: amd64/amd64 amd64/linux32
arm/arm compat/ia32 compat/svr4 i386/i386 i386/linux ia64/ia64 kern
mips/mips powerpc/powerpc sparc64/sparc64 sys
Chagin Dmitry
dchagin at freebsd.org
Sun Mar 15 10:02:52 PDT 2009
On Sun, Mar 15, 2009 at 04:18:02PM +0100, Alexander Leidinger wrote:
> On Fri, 13 Mar 2009 16:40:51 +0000 (UTC) Dmitry Chagin
> <dchagin at FreeBSD.org> wrote:
>
> > New Revision: 189771
>
> > Log:
> > Implement new way of branding ELF binaries by looking to a
> > ".note.ABI-tag" section.
>
> Does this mean we do not need brandelf for the linuxulator anymore
> (do static linux programs contain this field with a correct value)? If
> yes:
> - Please document it least in the doc repository in
> "en_US.ISO8859-1/books/porters-handbook/book.sgml" (version 800071
> should be close enough, so just adding a little note there is enough).
> This way we can take this into account for the linux stuff in the ports
> collection.
> - I don't know if this should be mentioned in the brandelf man-page too
> in this case. At least the evaluation order should be mentioned there,
> I think.
>
hi,
dchagin# file /compat/linux/sbin/ldconfig
/compat/linux/sbin/ldconfig: ELF 32-bit LSB executable, Intel 80386,
version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.9, stripped
dchagin# brandelf -f 0 /compat/linux/sbin/ldconfig
dchagin# /compat/linux/sbin/ldconfig -V
ldconfig (GNU libc) 2.7
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Written by Andreas Jaeger.
dchagin# readelf -h /compat/linux/sbin/ldconfig | grep ABI
OS/ABI: UNIX - System V
ABI Version: 0
dchagin#
so it works for statically linked binaries also.
Unfortunately, I not the best person for a documentation
writing... Therefore I will make it a bit later :)
--
Have fun!
chd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20090315/da1a71e6/attachment.pgp
More information about the svn-src-all
mailing list