History log of /freebsd/usr.bin/ldd/ldd.c (Results 51 – 75 of 118)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# 005ba515 17-May-2002 Akinori MUSHA <knu@FreeBSD.org>

Fix a tiny bug in shlib support of ldd(1); if dlopen(lib, RTLD_TRACE)
returns, exit gracefully with 0.

This fixes the behavior you see when you specify libc.so. It occurs
because ldd(1) itself is l

Fix a tiny bug in shlib support of ldd(1); if dlopen(lib, RTLD_TRACE)
returns, exit gracefully with 0.

This fixes the behavior you see when you specify libc.so. It occurs
because ldd(1) itself is linked with libc.so.

$ ldd /usr/lib/libc.so
/usr/lib/libc.so:
ldd: /usr/lib/libc.so: (null)
/usr/lib/libc.so: exit status 1

Reviewed by: silence of audit@

show more ...


# a53809fd 28-Apr-2002 Mark Murray <markm@FreeBSD.org>

Warns; ANSIfy, constify and move declarations into a common header.


# a2cfdda8 20-Apr-2002 Mike Barcroft <mike@FreeBSD.org>

Include <arpa/inet.h> for prototype of ntohl() used in the N_BADMAG()
macro.


# f1bb2cd2 22-Mar-2002 Warner Losh <imp@FreeBSD.org>

remove __P


# 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 Mey

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>

show more ...


# 97b79abc 08-Feb-2002 Maxim Sobolev <sobomax@FreeBSD.org>

Inspect ELF header and reject any non-FreeBSD shared objects.

MFC after: 2 weeks


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# c6de4ce7 04-Feb-2002 Maxim Sobolev <sobomax@FreeBSD.org>

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


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

GC meaningless assignment.

MFC after: 3 days


# 7bc6d015 09-Jul-2001 Brian Somers <brian@FreeBSD.org>

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


# 5e6220d9 03-May-2001 David E. O'Brien <obrien@FreeBSD.org>

* include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by B

* include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.

show more ...


Revision tags: release/4.3.0_cvs, release/4.3.0
# e6f0df2b 15-Dec-2000 Andrey A. Chernov <ache@FreeBSD.org>

Fix lseek args order (PR 23549)
Catch and report lseek errors too
While reading header don't attempt to continue reading
if some IO operation fails

PR: 23549


# 3e762626 10-Dec-2000 Philippe Charnier <charnier@FreeBSD.org>

Add rcsid. Remove unused #include. Remove error() definition and replace
with warn().


Revision tags: release/4.2.0, release/4.1.1_cvs
# 62f882d6 04-Sep-2000 Warner Losh <imp@FreeBSD.org>

getopt and friends are declared in <unistd.h>
getopt returns -1 not EOF.


Revision tags: release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# 97db68b6 16-Sep-1998 Doug Rabson <dfr@FreeBSD.org>

Make ldd work on alpha.


# e2daa140 30-Aug-1998 John Polstra <jdp@FreeBSD.org>

Fix a bug which caused ldd to execute scripts listed on its command
line, instead of skipping them.

Also make a few minor cleanups.

PR: bin/7783


Revision tags: release/2.2.7
# c474c6d3 01-May-1998 Doug Rabson <dfr@FreeBSD.org>

Add ELF support.


Revision tags: release/2.2.6, release/2.2.5_cvs
# 170fa4e8 02-Sep-1997 John Polstra <jdp@FreeBSD.org>

Touch up the code that implements "ldd -v".

Bring the style of sods.c into better conformance. Add code to
print the contents of each datum being relocated. Correct the logic
that distinguishes be

Touch up the code that implements "ldd -v".

Bring the style of sods.c into better conformance. Add code to
print the contents of each datum being relocated. Correct the logic
that distinguishes between programs, shared libraries, and object
files. Make the entire program "-Wall" clean.

show more ...


Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# fce15c9a 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


# 18c0f29e 12-Jan-1997 John Polstra <jdp@FreeBSD.org>

Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.


# 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'.


# b988beb8 22-Nov-1996 Peter Wemm <peter@FreeBSD.org>

make the Usage string match reality

Submitted by: faried nawaz <fn@uidaho.edu>, PR#2075


# fecaa127 29-Oct-1996 Peter Wemm <peter@FreeBSD.org>

oops, uninitialised variable.. -v mode depended on stack contents.

Submitted by: Masafumi NAKANE <max@wide.ad.jp>, PR#1920


Revision tags: release/2.1.5_cvs
# 9731d137 01-Oct-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.


12345