summaryrefslogtreecommitdiffstats
path: root/usr.bin/ldd/ldd.1
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-08-01 21:52:41 +0000
committerjhb <jhb@FreeBSD.org>2008-08-01 21:52:41 +0000
commita0f546e88ff3ba025ed0bdc1f1bfbcc5b44a1f49 (patch)
tree51f5c7a67159c213618ab3144d35ed1721594f3b /usr.bin/ldd/ldd.1
parent471e3f43d52a6886559e56d484d07d83a871edb4 (diff)
downloadFreeBSD-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 'usr.bin/ldd/ldd.1')
-rw-r--r--usr.bin/ldd/ldd.16
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/ldd/ldd.1 b/usr.bin/ldd/ldd.1
index fab21eb..72afb39 100644
--- a/usr.bin/ldd/ldd.1
+++ b/usr.bin/ldd/ldd.1
@@ -64,12 +64,6 @@ option.
It will print a report of all ELF binaries in the current directory,
which link against libc.so.6:
.Dl "find . -type f | xargs -n1 file -F " " | grep ELF | cut -f1 -d' ' | xargs ldd -f '%A %o\en' | grep libc.so.6"
-.Sh BUGS
-On 64 bit architectures, dlopen() cannot open 32 bit dynamic libraries,
-so
-.Nm
-will show the error
-.Qq "unsupported file layout" .
.Sh SEE ALSO
.Xr ld 1 ,
.Xr nm 1 ,
OpenPOWER on IntegriCloud