summaryrefslogtreecommitdiffstats
path: root/usr.bin/ldd/sods.c
Commit message (Collapse)AuthorAgeFilesLines
* The type of some aout header types changed to uint_32, so now we needdwmalone2004-06-291-13/+13
| | | | to cast to long before printing. While I'm here, raise WARNS to 6.
* Fix a few WARNS:dwmalone2004-02-151-6/+6
| | | | | | | 1) Include string.h for strcpy. 2) Don't make duplicate declaration of dump_file, we now include extern.h. 3) Help out with some constness. 4) Cast to slightly better types in some comparisons.
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-3/+1
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Warns; ANSIfy, constify and move declarations into a common header.markm2002-04-281-26/+27
|
* Include <arpa/inet.h> for prototype of ntohl() used in the N_BADMAG()mike2002-04-201-0/+1
| | | | macro.
* Fix long format mismatch with int argdillon2001-10-291-1/+1
|
* * 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.
* Add rcsid. Remove unused #include. Remove error() definition and replacecharnier2000-12-101-25/+19
| | | | with warn().
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make ldd work on alpha.dfr1998-09-161-1/+3
|
* Add ELF support.dfr1998-05-011-2/+10
|
* In the "ldd -v" output, display the N_AUX information for eachjdp1997-11-281-3/+13
| | | | | symbol. It indicates whether the symbol refers to a function or a data object.
* Touch up the code that implements "ldd -v".jdp1997-09-021-48/+79
| | | | | | | 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.
* For "ldd -v", print shared object dependencies that were specified asjdp1997-01-101-3/+6
| | | | | pathnames (rather than as "-lfoo") correctly. Closes PR bin/2404.
* Incorporate John Polstra's sods.c display of the details about thepeter1996-10-011-0/+502
dynamic linking information in the executable. It's quite extensive. It's connected to ldd's (new) -v option.
OpenPOWER on IntegriCloud