From nobody Mon Jan 03 01:17:21 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F0D27192B931; Mon, 3 Jan 2022 01:17:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JRyXK375Hz4hCT; Mon, 3 Jan 2022 01:17:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4C4581C5CB; Mon, 3 Jan 2022 01:17:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2031HLTF050807; Mon, 3 Jan 2022 01:17:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2031HLqg050806; Mon, 3 Jan 2022 01:17:21 GMT (envelope-from git) Date: Mon, 3 Jan 2022 01:17:21 GMT Message-Id: <202201030117.2031HLqg050806@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: b498248f7a70 - stable/13 - lorder: add note that it is no longer required List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b498248f7a705d45cab6ac14ec67bb408621aabf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641172641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vPsB3qfhA1BgHRXn6BZHiu8ululI9bWx9Z3oy5VyuaE=; b=v0Pqskv+TCp5E9rSFG6H1eTWMWy5oEXPUShXUdkcjoU/5wpJ1+ASccufZ6LQJspf9YYlOQ prMPiejt/UR3SCypW+yKqT8RuNfqGuNjrbTXo08M3qoMKhAE2UqVncWuafnToT1dysD/Rv M405DlWXTq3qFhMgEMODI59Y7Vs5frwrCthxVTOjOxRC/gOinjnfiJjNi9zHGLGYXG7BgG AAP0Gb9sTYMyiRIKXbZBOxS1wE4UESKxYT+AawPMP3W/baJHJsjXpxLLgGvSK6f1NCTIH4 NwBXJpwZMyoDat6z9+feqZeksxEj3d0wEhTwQ2979G079cftvYANXZoyMwuBSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641172641; a=rsa-sha256; cv=none; b=hp8LOXWAXH1/1oVqoWbgxOgTQsk8swh/s35+w/aIJCJopW8W3vr0sptmqfXCj8XG1OMnPg fnipc9Lpx48YhT8dGuChIhS1waRyu9/emrf1wKL/5pgXkJUpN83lCNV8g7QkqnDlBe0li0 1Wp1CYJWttpEZ/UX6+TzkMeaNmWOwO0O5TK7ok9g03geK+Odk3JOnftq2IA8bPEoUTZhjw bwLc+1aq5+wLqSJiNjl0b1dEorKG8nhNt2zJsWLMneK116Vd8GtCVML89HGa7enwNWlu+b hXk2QMcOL7PQ1lyfW9VKAvbB207l3aPc4CkU4mxs5nxcDghUxJHRF0gegXuSLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=b498248f7a705d45cab6ac14ec67bb408621aabf commit b498248f7a705d45cab6ac14ec67bb408621aabf Author: Ed Maste AuthorDate: 2021-12-20 17:57:34 +0000 Commit: Ed Maste CommitDate: 2022-01-03 01:17:00 +0000 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) --- usr.bin/lorder/lorder.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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