History log of /freebsd-current/usr.bin/ldd/ldd.1
Revision Date Author Comments
# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# e9f8723c 21-Mar-2023 Ed Maste <emaste@FreeBSD.org>

ldd: clarify format options

-f may be specified zero, one, or two times. Make this clear in the
usage.

Reviewed by: markj, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34733


# 43dc1409 28-Dec-2022 David E. O'Brien <obrien@FreeBSD.org>

Restricting xargs to '-n1' is much slower and isn't needed for file(1)

Also note that libc.so.6 is an older version of libc (thus why you'd
want to find files linked against it).


# 17fc43bc 28-Aug-2021 Konstantin Belousov <kib@FreeBSD.org>

ldd: Remove non-functional -v option

It seems -v only worked for a.out. Remove it, not even keeping the current
nop for compat. Also remove more mentions of a.out format from the man
page.

Reviewed by: dim, emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D31708


# 5d704faf 23-Oct-2018 Mark Johnston <markj@FreeBSD.org>

Add an IMPLEMENTATION NOTES section to ldd.1.

PR: 231926
Reviewed by: emaste
MFC after: 1 month


# 4f8efc22 23-Dec-2017 Eitan Adler <eadler@FreeBSD.org>

ldd: avoid statically linked executables in example

The example works but spews warnings if run over a directory with
statically linked binaries.

PR: 211024
Submitted by: mike@skew.org


# 2b7af31c 23-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

use .Mt to mark up email addresses consistently (part3)

PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# a2ec746f 28-Nov-2009 Daniel Gerzo <danger@FreeBSD.org>

- correctly render the provided example

PR: docs/140962
Submitted by: mharo


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# e68ed793 01-Aug-2008 John Baldwin <jhb@FreeBSD.org>

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)


# fffd993d 03-Jul-2008 Edwin Groothuis <edwin@FreeBSD.org>

On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them:

[/] root@ed-exigent>ldd `which httpd`
ldd: /usr/local/sbin/httpd: can't read program header
ldd: /usr/local/sbin/httpd: not a dynamic executable

But...

[/] root@ed-exigent>LD_32_TRACE_LOADED_OBJECTS==1 `which httpd`
libm.so.4 => /lib32//libm.so.4 (0x280c8000)
libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x280de000)
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x280f2000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28110000)
libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x281fd000)
libcrypt.so.3 => /lib32//libcrypt.so.3 (0x2821d000)
libpthread.so.2 => not found (0x0)
libc.so.6 => /lib32//libc.so.6 (0x28235000)
libpthread.so.2 => /usr/lib32/libpthread.so.2 (0x2830d000)

Added support in ldd(1) for the LD_32_xxx environment variables if
the architecture of the machine is >32 bits. If we ever go to 128
bit architectures this excercise will have to be repeated but thanks
to earlier commits today it will be relative simple.

PR: bin/124906
Submitted by: edwin
Approved by: bde (mentor)
MFC after: 1 week


# 7fa21c09 15-May-2008 Bruce M Simpson <bms@FreeBSD.org>

Typo


# b65a4e88 15-May-2008 Bruce M Simpson <bms@FreeBSD.org>

Add an example of how to use ldd -f.


# 0e2dd923 11-May-2007 Pav Lucistnik <pav@FreeBSD.org>

Expand documentation of -f option

PR: docs/66265
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week


# d64ada50 30-Dec-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


# e8937ba0 19-Apr-2002 Philippe Charnier <charnier@FreeBSD.org>

Use `The .Nm utility'


# ba68dbe5 15-Mar-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: kill hard sentence breaks.


# 20249943 17-Feb-2002 David E. O'Brien <obrien@FreeBSD.org>

Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to a
non-empty string in the environment; we indicate which objects caused
each object to be loaded.

PR: 30908
Submitted-by: Mike Meyer <mwm@mired.org>


# c6de4ce7 04-Feb-2002 Maxim Sobolev <sobomax@FreeBSD.org>

Allow ldd(1) be used on shared libraries in addition to executables.


# 62500372 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


# 8fe908ef 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# b51a8645 10-May-2000 Alexey Zelkin <phantom@FreeBSD.org>

Corractly use .Nm and .An/.Aq macros. Replace FreeBSD with .Fx macro
e.


# 35add0e9 28-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Cross-reference ldd(1) in rtld(1) and vice versa.


# 7a3de761 20-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Revert the part of rev 1.5 that spammed rev 1.4; rev 1.4 correctly
removed an erroneous cross-reference to ld.so(1), which doesn't
exist in FreeBSD.

PR: 17468
Submitted by: Randall Hopper <aa8vb@ipass.net>


# 87faa07b 29-Feb-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 49364d3c 28-Aug-1999 Mike Pritchard <mpp@FreeBSD.org>

Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>


# dfb9495b 25-Dec-1997 Tim Vanderhoek <hoek@FreeBSD.org>

Use consistent spelling,
writeable -> writable (recall prior debate over this? :-)
initialise -> initialize
recognise -> recognize

Merry Christmas! :)


# 46657c7e 29-Aug-1997 John-Mark Gurney <jmg@FreeBSD.org>

fix a few spelling changes

Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.


# 45f4c7f9 30-Nov-1996 Bruce Evans <bde@FreeBSD.org>

Made the synopsis in the man page conform to the style guide.

Made the usage message conform to the style guide.

Don't use the implementation variable `__progname'.


# 9731d137 30-Sep-1996 Peter Wemm <peter@FreeBSD.org>

Incorporate John Polstra's sods.c display of the details about the
dynamic linking information in the executable. It's quite extensive.
It's connected to ldd's (new) -v option.


# d138df61 30-Sep-1996 Peter Wemm <peter@FreeBSD.org>

Support for specifying printf-like output specs to control the ldd output
as present in the new rtld version.

Obtained from: NetBSD
Reviewed by: nate, jdp


# 61f9ce8d 23-Dec-1994 Nate Williams <nate@FreeBSD.org>

Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD


# a37e71f3 17-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove reference to the ld.so man page - ain't no such animal.
Reported by John Lind.


# 09e3d49d 13-Feb-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

This is Paul K's latest set of ld changes. A commit was necessary at this
late stage due to the fact that link.h was copyright Sun Microsystems.

This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed). Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).


# 9859e2cc 10-Feb-1994 Nate Williams <nate@FreeBSD.org>

Changed NetBSD -> FreeBSD


# b9ae52e3 03-Nov-1993 Paul Richards <paul@FreeBSD.org>

Imported NetBSD's ld for shared libs.