summaryrefslogtreecommitdiffstats
path: root/usr.bin/ldd/ldd.c
Commit message (Collapse)AuthorAgeFilesLines
* remove __Pimp2002-03-221-1/+1
|
* Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to aobrien2002-02-171-5/+11
| | | | | | | | 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>
* Inspect ELF header and reject any non-FreeBSD shared objects.sobomax2002-02-081-1/+7
| | | | MFC after: 2 weeks
* Allow ldd(1) be used on shared libraries in addition to executables.sobomax2002-02-041-2/+12
|
* GC meaningless assignment.sobomax2002-02-041-1/+1
| | | | MFC after: 3 days
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-05-021-1/+1
| | | | | | | | 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.
* Fix lseek args order (PR 23549)ache2000-12-151-12/+15
| | | | | | | | Catch and report lseek errors too While reading header don't attempt to continue reading if some IO operation fails PR: 23549
* Add rcsid. Remove unused #include. Remove error() definition and replacecharnier2000-12-101-10/+7
| | | | with warn().
* getopt and friends are declared in <unistd.h>imp2000-09-041-1/+1
| | | | getopt returns -1 not EOF.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make ldd work on alpha.dfr1998-09-161-4/+6
|
* Fix a bug which caused ldd to execute scripts listed on its commandjdp1998-08-301-29/+28
| | | | | | | | line, instead of skipping them. Also make a few minor cleanups. PR: bin/7783
* Add ELF support.dfr1998-05-011-9/+52
|
* Touch up the code that implements "ldd -v".jdp1997-09-021-2/+2
| | | | | | | 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.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linkerjdp1997-01-121-2/+2
| | | | | now treats empty "LD_*" environment variables as if they were unset, per the standard SVR4 conventions.
* Made the synopsis in the man page conform to the style guide.bde1996-11-301-6/+2
| | | | | | Made the usage message conform to the style guide. Don't use the implementation variable `__progname'.
* make the Usage string match realitypeter1996-11-221-2/+4
| | | | Submitted by: faried nawaz <fn@uidaho.edu>, PR#2075
* oops, uninitialised variable.. -v mode depended on stack contents.peter1996-10-291-2/+2
| | | | Submitted by: Masafumi NAKANE <max@wide.ad.jp>, PR#1920
* Incorporate John Polstra's sods.c display of the details about thepeter1996-10-011-2/+18
| | | | | dynamic linking information in the executable. It's quite extensive. It's connected to ldd's (new) -v option.
* Support for specifying printf-like output specs to control the ldd outputpeter1996-10-011-3/+20
| | | | | | | as present in the new rtld version. Obtained from: NetBSD Reviewed by: nate, jdp
* Updated to recent version of Paul K.'s shlib code. This code has betternate1994-12-231-4/+7
| | | | | | | | | | 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
* Changes from Paul Kranenburg which bring us into sync with his sources:rich1994-06-151-30/+26
| | | | | | | | | | | | | | handling of errors through the standard err() and warn() more fixes for Geoff Rehmet's NULL pointer bug. fixes NULL pointer bugs when linking mono and nested X servers. supports a `-nostdlib' option. accept object files without a symbol table don't attempt dynamic linking when `-A' is given a few variable names have chaged (desc -> fd), and the formatting has changed which should make it much easier to track his sources. I tested 'make world' for /usr/src and X twice with these changes.
* This is Paul K's latest set of ld changes. A commit was necessary at thisjkh1994-02-131-2/+3
| | | | | | | | | | 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).
* Imported NetBSD's ld for shared libs.paul1993-11-031-0/+139
OpenPOWER on IntegriCloud