aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-12-20 17:57:34 +0000
committerEd Maste <emaste@FreeBSD.org>2022-01-03 01:17:34 +0000
commit811f36c660a2d40b57bfbf8a9728866d83130d12 (patch)
tree67fd66db35c6c73fd0a9a5dc310e972e655aa1b6
parent50b0f99010bc485e7f60e948ff3bc590fbbeea43 (diff)
downloadsrc-811f36c660a2d40b57bfbf8a9728866d83130d12.tar.gz
src-811f36c660a2d40b57bfbf8a9728866d83130d12.zip
lorder: add note that it is no longer required
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)
-rw-r--r--usr.bin/lorder/lorder.19
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/lorder/lorder.1 b/usr.bin/lorder/lorder.1
index b3bfc2d37d35..de03b626fc5f 100644
--- a/usr.bin/lorder/lorder.1
+++ b/usr.bin/lorder/lorder.1
@@ -28,7 +28,7 @@
.\" @(#)lorder.1 8.2 (Berkeley) 4/28/95
.\" $FreeBSD$
.\"
-.Dd August 14, 2015
+.Dd December 20, 2021
.Dt LORDER 1
.Os
.Sh NAME
@@ -61,6 +61,13 @@ When linking static binaries,
and
.Xr tsort 1
can be used to properly order library archives automatically.
+.Pp
+The use of
+.Nm
+is not required by contemporary linkers, and
+.Nm
+may be removed from a future version of
+.Fx .
.Sh ENVIRONMENT
.Bl -tag -width indent
.It Ev NM