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 > <dcha...@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
pgpa5a584RRK0.pgp
Description: PGP signature