diff options
author | jhb <jhb@FreeBSD.org> | 2008-08-01 21:52:41 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-08-01 21:52:41 +0000 |
commit | a0f546e88ff3ba025ed0bdc1f1bfbcc5b44a1f49 (patch) | |
tree | 51f5c7a67159c213618ab3144d35ed1721594f3b /sys/net/bpfdesc.h | |
parent | 471e3f43d52a6886559e56d484d07d83a871edb4 (diff) | |
download | FreeBSD-src-a0f546e88ff3ba025ed0bdc1f1bfbcc5b44a1f49.zip FreeBSD-src-a0f546e88ff3ba025ed0bdc1f1bfbcc5b44a1f49.tar.gz |
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)
Diffstat (limited to 'sys/net/bpfdesc.h')
0 files changed, 0 insertions, 0 deletions