freebsd-skq/usr.bin/ldd
John Baldwin e68ed79390 Tweak the support for using ldd on 32-bit objects a bit further.
Specifically, build a 32-bit /usr/bin/ldd32 on amd64 which handles 32-bit
objects.  Since it is a 32-bit binary, it can fork a child process which
can dlopen() a 32-bit shared library.  The current 32-bit support in ldd
can't do this because it does the dlopen() from a 64-bit process.  In order
to preserve an intuitive interface for users, the ldd binary automatically
execs /usr/bin/ldd32 for 32-bit objects.  The end result is that ldd on
amd64 now transparently handles 32-bit shared libraries in addition to
32-bit binaries.

Submitted by:	ps (indirectly)
2008-08-01 21:52:41 +00:00
..
extern.h
ldd.1 Tweak the support for using ldd on 32-bit objects a bit further. 2008-08-01 21:52:41 +00:00
ldd.c Tweak the support for using ldd on 32-bit objects a bit further. 2008-08-01 21:52:41 +00:00
Makefile Tweak the support for using ldd on 32-bit objects a bit further. 2008-08-01 21:52:41 +00:00
sods.c