summaryrefslogtreecommitdiff
path: root/usr.bin/nm
AgeCommit message (Collapse)Author
2025-05-28packages: rename elftoolchain to toolchain, add more thingsLexi Winter
Rename the existing "elftoolchain" package to "toolchain", and move everything which is gated by MK_TOOLCHAIN (e.g. lex, yacc, ...) to the toolchain package. This means we have one package called "toolchain" which contains all the development-related utilities which are not compilers or already part of some other package (e.g., llvm). Reviewed by: des, emaste Approved by: des (mentor) Differential Revision: https://reviews.freebsd.org/D50286
2024-07-15Remove residual blank line at start of MakefileWarner Losh
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
2023-11-26dirdeps: Update/fix Makefile.depend* for toolchainKa Ho Ng
This fixes make pseudo/toolchain.
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-02-08pkgbase: Create a FreeBSD-elftoolchain packageEmmanuel Vadot
It contain all the binaries and libs from the elftoolchain contrib project except for libelf which is used everywhere. All of those tools are never used by the average user. Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D38224
2019-12-11Update Makefile.depend filesSimon J. Gerraty
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
2019-12-11Add Makefile.depend.optionsSimon J. Gerraty
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
2019-09-30Capsicumize nm(1).Mark Johnston
Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21107 Notes: svn path=/head/; revision=352909
2017-10-31DIRDEPS_BUILD: Update dependencies.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
2016-04-21elftoolchain: Use ${SRCTOP} for the top of the FreeBSD treeEd Maste
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
2016-04-18Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchainEd Maste
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
2015-06-16new dependsSimon J. Gerraty
Notes: svn path=/head/; revision=284481
2014-12-01Build infrastructure for elftoolchain toolsEd Maste
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
2003-06-27Finish the deorbital burn of the i386-only a.out toolchain.David E. O'Brien
Notes: svn path=/head/; revision=116903
2003-01-01Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt
especially in troff files. Notes: svn path=/head/; revision=108533
2002-10-16Introduce enumerate of options using the standard way:Philippe Charnier
Notes: svn path=/head/; revision=105256
2002-04-28Fix some easy warnings; ANSIfy, constify.Mark Murray
Fix VCS inclusion and deregister. Notes: svn path=/head/; revision=95631
2002-03-22remove __PWarner Losh
Notes: svn path=/head/; revision=92921
2001-07-24Expland the emalloc to do the testing at the place of mallocing.David E. O'Brien
Notes: svn path=/head/; revision=80288
2001-07-15Remove whitespace at EOL.Dima Dorfman
Notes: svn path=/head/; revision=79755
2001-07-10mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov
Notes: svn path=/head/; revision=79535
2001-03-27MAN[1-9] -> MAN.Ruslan Ermilov
Notes: svn path=/head/; revision=74848
2001-02-06Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven
Seperate does not exist in the english language. Notes: svn path=/head/; revision=72091
2001-02-01mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov
Notes: svn path=/head/; revision=71895
2000-12-27Prepare for mdoc(7)NG.Ruslan Ermilov
Notes: svn path=/head/; revision=70410
2000-12-19Prepare for mdoc(7)NG.Ruslan Ermilov
Notes: svn path=/head/; revision=70197
2000-09-04getopt and friends are declared in <unistd.h>Warner Losh
getopt returns -1 not EOF. Notes: svn path=/head/; revision=65428
2000-05-02Restore this file.David E. O'Brien
Requested by: bde Notes: svn path=/head/; revision=59907
2000-05-02Add descriptions of the nm(1aout) keywords and their meanings.David E. O'Brien
PR: docs/17269 Submitted by: Oscar Bonilla <obonilla@fisicc-ufm.edu> Notes: svn path=/head/; revision=59905
2000-05-02nm.1aout is used here now.David E. O'Brien
Notes: svn path=/head/; revision=59904
2000-04-30Add descriptions of the nm(1) keywords and their meanings.Nik Clayton
PR: docs/17269 Submitted by: Oscar Bonilla <obonilla@fisicc-ufm.edu> Notes: svn path=/head/; revision=59805
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
Notes: svn path=/head/; revision=50477
1998-09-07Install the legacy man file in section 1aout.John Birrell
Notes: svn path=/head/; revision=38899
1998-07-06Fixed classic sign extension bug `-(long)sizeof(foo)'.Bruce Evans
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
1998-05-25ELF preparation step 1:Søren Schmidt
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
1997-07-31Use err(3). Add missing flags in usage string.Philippe Charnier
Notes: svn path=/head/; revision=27784
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
posix standard on the topic. Notes: svn path=/head/; revision=24360
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
Notes: svn path=/head/; revision=23012
1997-01-15Sort cross references.Wolfram Schneider
Notes: svn path=/head/; revision=21748
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
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
1996-09-24Drat, had the N_FN overloading based on N_EXT backwards. N_EXT = filename,Peter Wemm
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
1996-09-24Rudimentry support for viewing weak symbols. There are two types thatPeter Wemm
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
1996-08-29[HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Notes: svn path=/head/; revision=17891
1996-07-12General -Wall warning cleanup, part I.Jordan K. Hubbard
Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17142
1995-12-19Add -t option which prints output in tabular format.Poul-Henning Kamp
Notes: svn path=/head/; revision=12921
1995-05-30Remove trailing whitespace.Rodney W. Grimes
Notes: svn path=/head/; revision=8874
1994-12-28Fix bug with printing out short archive entries,Andrey A. Chernov
incorrect padding Notes: svn path=/head/; revision=5273
1994-12-28Additional longname fixAndrey A. Chernov
Submitted by: dufault@hda.com Notes: svn path=/head/; revision=5267
1994-12-28Fix for handling long archive namesAndrey A. Chernov
Submitted by: dufault@hda.com Notes: svn path=/head/; revision=5252
1994-05-27BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590