aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/nm
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-233-3/+0
| | | | | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/ Similar commit in main: (cherry picked from commit d0b2dbfa0ecf)
* Update Makefile.depend filesSimon J. Gerraty2019-12-111-1/+2
| | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* Add Makefile.depend.optionsSimon J. Gerraty2019-12-111-0/+8
| | | | | | | | | | | | | | | | | | | | Leaf directories that have dependencies impacted by options need a Makefile.depend.options file to avoid churn in Makefile.depend DIRDEPS for cases such as OPENSSL, TCP_WRAPPERS etc can be set in local.dirdeps-options.mk which can add to those set in Makefile.depend.options See share/mk/dirdeps-options.mk Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22469 Notes: svn path=/head/; revision=355616
* Capsicumize nm(1).Mark Johnston2019-09-301-0/+6
| | | | | | | | | Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21107 Notes: svn path=/head/; revision=352909
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* elftoolchain: Use ${SRCTOP} for the top of the FreeBSD treeEd Maste2016-04-211-1/+1
| | | | | | | | | | | It's provided by sys.mk so there's no need to derive it from ${.CURDIR}. Suggested by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5998 Notes: svn path=/head/; revision=298401
* Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchainEd Maste2016-04-181-1/+1
| | | | | | | | | | This produces a nicer path in debug info and build logs. MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=298204
* new dependsSimon J. Gerraty2015-06-161-0/+21
| | | | Notes: svn path=/head/; revision=284481
* Build infrastructure for elftoolchain toolsEd Maste2014-12-011-0/+16
| | | | | | | | | | | | | | | | | | Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version of the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * strings Reviewed by: bapt (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1224 Notes: svn path=/head/; revision=275373
* Finish the deorbital burn of the i386-only a.out toolchain.David E. O'Brien2003-06-274-975/+0
| | | | Notes: svn path=/head/; revision=116903
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-2/+2
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Introduce enumerate of options using the standard way:Philippe Charnier2002-10-162-4/+8
| | | | Notes: svn path=/head/; revision=105256
* Fix some easy warnings; ANSIfy, constify.Mark Murray2002-04-281-55/+48
| | | | | | | Fix VCS inclusion and deregister. Notes: svn path=/head/; revision=95631
* remove __PWarner Losh2002-03-221-6/+6
| | | | Notes: svn path=/head/; revision=92921
* Expland the emalloc to do the testing at the place of mallocing.David E. O'Brien2001-07-241-16/+6
| | | | Notes: svn path=/head/; revision=80288
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-102-2/+2
| | | | Notes: svn path=/head/; revision=79535
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+2
| | | | Notes: svn path=/head/; revision=74848
* Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | Seperate does not exist in the english language. Notes: svn path=/head/; revision=72091
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-012-2/+2
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-271-0/+1
| | | | Notes: svn path=/head/; revision=70410
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-0/+1
| | | | Notes: svn path=/head/; revision=70197
* getopt and friends are declared in <unistd.h>Warner Losh2000-09-041-1/+0
| | | | | | | getopt returns -1 not EOF. Notes: svn path=/head/; revision=65428
* Restore this file.David E. O'Brien2000-05-021-0/+152
| | | | | | | Requested by: bde Notes: svn path=/head/; revision=59907
* Add descriptions of the nm(1aout) keywords and their meanings.David E. O'Brien2000-05-021-0/+26
| | | | | | | | PR: docs/17269 Submitted by: Oscar Bonilla <obonilla@fisicc-ufm.edu> Notes: svn path=/head/; revision=59905
* nm.1aout is used here now.David E. O'Brien2000-05-021-152/+0
| | | | Notes: svn path=/head/; revision=59904
* Add descriptions of the nm(1) keywords and their meanings.Nik Clayton2000-04-301-0/+26
| | | | | | | | PR: docs/17269 Submitted by: Oscar Bonilla <obonilla@fisicc-ufm.edu> Notes: svn path=/head/; revision=59805
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* Install the legacy man file in section 1aout.John Birrell1998-09-071-0/+1
| | | | Notes: svn path=/head/; revision=38899
* 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
* ELF preparation step 1:Søren Schmidt1998-05-251-0/+1
| | | | | | | | | | | | | | | | | | Move our old a.out utils to /usr/libexec/aout. Enable binutils and put the utils in /usr/libexec/elf Enable objformat, a little helper program that calls the right utils based on /etc/objformat and $OBJFORMAT. This will enable the ELF generating tools. Remember that this is only step one, the system is still compiled and run in a.out format ONLY. Problem left to solve: The BSD manpages wins over the GNU equivalents as the are installed last. We need to distinguish between the manpages somehow... Notes: svn path=/head/; revision=36374
* Use err(3). Add missing flags in usage string.Philippe Charnier1997-07-313-47/+38
| | | | 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
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=23012
* Sort cross references.Wolfram Schneider1997-01-152-2/+2
| | | | Notes: svn path=/head/; revision=21748
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* 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-243-11/+45
| | | | | | | | 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
* [HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider1996-08-292-2/+4
| | | | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Notes: svn path=/head/; revision=17891
* 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-193-7/+29
| | | | 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-274-0/+823
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590