aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/lorder
Commit message (Collapse)AuthorAgeFilesLines
* lorder: add deprecation noticeEd Maste2023-03-231-1/+6
| | | | | | | | | | | | lorder has not been used by the base system since 0e1e341b486c and hasn't really been necessary for a very long time. PR: 259254 [exp-run] Reviewed by: arichardson (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30080 (cherry picked from commit 68a930d8ee35dd6ecc16254667a07e5be0a6f841)
* lorder: add note that it is no longer requiredEd Maste2022-01-031-1/+8
| | | | | | | | | | | | | | | | | | | | | | | Use of lorder(1) is not required by contemporary linkers. The GNU coreutils manual[1] has a good description of the use of lorder and tsort: This whole procedure has been obsolete since about 1980, because Unix archives now contain a symbol table (traditionally built by ranlib, now generally built by ar itself), and the Unix linker uses the symbol table to effectively make multiple passes over an archive file. See 0e1e341b486c for some more details. [1] https://www.gnu.org/software/coreutils/manual/html_node/tsort-background.html PR: 259254 [exp-run] MFC after: 2 weeks Sponsored by: The FreeBSD Foundation (cherry picked from commit 3e01ee76f2042fe07ad5cf8edeb5065bc0aba320)
* lorder: process read-only data symbolsEd Maste2021-10-251-3/+3
| | | | | | | | | | | | Previously they were skipped. lorder(1) serves no functional purpose today but we might as well address this longstanding bug while it is still in the tree. PR: 133860 MFC after: 1 week Submitted by: John Hein (cherry picked from commit e1d6d6f9249d37c10a0df68024c7dacebdc7bf98)
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* lorder: produce locale-independent symbol orderingEd Maste2016-07-071-0/+1
| | | | | | | | | | | Found by the Debian reproducible builds effort -- Debian bug 830259. Reported by: Reiner Herrmann <reiner@reiner-h.de> Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=302398
* Introduce a new make variable: NMFLAGS.Rui Paulo2015-08-142-2/+5
| | | | | | | | | | As the name indicates, these are flags to pass to nm(1). The newer binutils have a plugin mechanism so, to build something with LLVM's LTO, we need to pass flags to nm(1). This commit also extends lorder(1) to pass NMFLAGS to nm(1). Notes: svn path=/head/; revision=286791
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+14
|/ | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-112-8/+0
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* Document the NM environment variable.Ruslan Ermilov2006-10-251-1/+9
| | | | Notes: svn path=/head/; revision=163682
* Markup fixes.Ruslan Ermilov2006-09-291-3/+3
| | | | Notes: svn path=/head/; revision=162792
* ru@ recently changed lorder to support library archives. DocumentWarner Losh2006-04-271-1/+9
| | | | | | | this new feature prominently. Bump date while I'm here. Notes: svn path=/head/; revision=158077
* Oops, revert last commit (the manpage is still built in objdir).Ruslan Ermilov2005-09-281-1/+0
| | | | Notes: svn path=/head/; revision=150671
* Add NO_OBJ.Ruslan Ermilov2005-09-281-0/+1
| | | | Notes: svn path=/head/; revision=150669
* Fix loder(1) to work with libraries. This can be useful toRuslan Ermilov2005-07-151-5/+14
| | | | | | | | sort long DPADD lists automatically. While here, recognize `W' as the global symbol. This has been tested since 2004. Notes: svn path=/head/; revision=148060
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131507
* Give the -o option before any filename operands when invoking the sortTim J. Robbins2003-06-011-2/+2
| | | | | | | | | utility. 1003.1-2001 does not allow sort to accept the -o option after the operands (Base Definitions, 12.2 Utility Syntax Guidelines, Guideline 9). Notes: svn path=/head/; revision=115647
* Make it work with POSIX sort (POS arg)Andrey A. Chernov2002-09-241-2/+2
| | | | | | | All old sorts understand -k too. Notes: svn path=/head/; revision=103902
* Use `The .Nm utility'Philippe Charnier2002-04-201-2/+3
| | | | Notes: svn path=/head/; revision=95124
* beforeinstall -> SCRIPTS.Ruslan Ermilov2001-04-071-4/+1
| | | | Notes: svn path=/head/; revision=75286
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+2
| | | | Notes: svn path=/head/; revision=74848
* Pick up the environment variable ${NM} if it exists and use that to listDoug Rabson2001-03-061-1/+2
| | | | | | | | symbols. This allows lorder to be used more easily in a cross-build environment. Notes: svn path=/head/; revision=73882
* Use different filenames.Tim Vanderhoek2000-05-171-2/+4
| | | | | | | Submitted by: bin/16927, Mike Heffner Notes: svn path=/head/; revision=60671
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Removed explict PATH which tended to cause the *wrong* path to be usedJohn Birrell1998-08-151-12/+5
| | | | | | | | | | more often than not. Also included Doug Rabson's changes to make this script better handle the two varieties of nm output we now have. Notes: svn path=/head/; revision=38322
* Typo.Philippe Charnier1997-07-231-6/+6
| | | | Notes: svn path=/head/; revision=27624
* typo.Poul-Henning Kamp1996-06-101-1/+1
| | | | | | | Submitted by: "Philippe Charnier" <charnier@lirmm.fr> Notes: svn path=/head/; revision=16280
* Change `install' to `${INSTALL}' as usual.Bruce Evans1995-07-251-2/+2
| | | | | | | Remove the extra slash in ${DESTDIR}/${BINDIR}. Notes: svn path=/head/; revision=9700
* lorder(1) manual page not properly installed due to makefile usurpingPaul Traina1994-10-271-1/+1
| | | | | | | install rule. Notes: svn path=/head/; revision=3937
* More merry makefile munging for man page compatability.Garrett Wollman1994-08-051-1/+1
| | | | Notes: svn path=/head/; revision=1866
* Cleanup so that make install can run, many install: maninstall changedRodney W. Grimes1994-05-301-2/+1
| | | | | | | to just install:, sperious targets and CLEANFILES removed. Notes: svn path=/head/; revision=1637
* Remove unneeded targets for manual page. Remove unneeded cleanfiles.Rodney W. Grimes1994-05-291-7/+0
| | | | Notes: svn path=/head/; revision=1627
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-273-0/+179
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590