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:00 +0000
commitb498248f7a705d45cab6ac14ec67bb408621aabf (patch)
tree973ae3d5da350b4f7a41e7c0b367ce705423dc22
parent1cd848a3141edd28897f74b7b6bf17f4ea14c982 (diff)
downloadsrc-b498248f7a705d45cab6ac14ec67bb408621aabf.tar.gz
src-b498248f7a705d45cab6ac14ec67bb408621aabf.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