aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/nm/nm.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r1.14, r1.15: remove extraneous externs and correct typo in commentKris Kennaway2001-03-041-2/+1
| | | | Notes: svn path=/stable/4/; revision=73473
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Fixed classic sign extension bug `-(long)sizeof(foo)'.Bruce Evans1998-07-061-6/+6
| | | | | | | | | | | | | | | Fixed the type of the string table size variable to match its use (assuming that int32_t is 4 bytes and other unportable things). bfd uses `unsigned char string_chars[BYTES_IN_WORD]', where BYTES_IN_WORD can be 4, 8, or perhaps even 2 or 3, but it is assumed to be precisely 4 bytes here. Fixed printf format errors (don't assume that n_value in struct n_list has type u_long, since it should have size BYTES_IN_WORD and longs may be longer than words). Notes: svn path=/head/; revision=37454
* Use err(3). Add missing flags in usage string.Philippe Charnier1997-07-311-39/+30
| | | | Notes: svn path=/head/; revision=27784
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Drat, had the N_FN overloading based on N_EXT backwards. N_EXT = filename,Peter Wemm1996-09-241-2/+2
| | | | | | | | | | | | no N_EXT is a "warning". eg: % nm -p /tmp/gets.o ... 00000000 w warning: this program uses gets(), which is unsafe. U _gets 00000000 T _gets Notes: svn path=/head/; revision=18488
* Rudimentry support for viewing weak symbols. There are two types thatPeter Wemm1996-09-241-7/+29
| | | | | | | | this deals with, the N_INDR indirect symbols done with .stabs operations, and those done with .weak that have an extra field in n_other. Notes: svn path=/head/; revision=18487
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-2/+16
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17142
* Add -t option which prints output in tabular format.Poul-Henning Kamp1995-12-191-5/+23
| | | | Notes: svn path=/head/; revision=12921
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8874
* Fix bug with printing out short archive entries,Andrey A. Chernov1994-12-281-2/+1
| | | | | | | incorrect padding Notes: svn path=/head/; revision=5273
* Additional longname fixAndrey A. Chernov1994-12-281-9/+8
| | | | | | | Submitted by: dufault@hda.com Notes: svn path=/head/; revision=5267
* Fix for handling long archive namesAndrey A. Chernov1994-12-281-10/+58
| | | | | | | Submitted by: dufault@hda.com Notes: svn path=/head/; revision=5252
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+584
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590