From nobody Tue May 26 17:16:55 2026 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 4gPzvK1jmqz6g9KY for ; Tue, 26 May 2026 17:17:01 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gPzvJ5j9tz3Ddj for ; Tue, 26 May 2026 17:17:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779815820; 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=jbw2TtdSzqWGFStM4zir26khu8TIoP/wfciwrK+l8k0=; b=L1ihTGi0EY2LzQXm8GQg1talYtiHxnvIx4DJKZm8sYX/L/XVNA52RIMPxAc/TghJHDMEYA KbCaF2CRIhEdivweI3i0WWJUkPsVn+iuo0EM2o+t5x1PzDw4r6Gi/T+4I7tElcXr7HLWND U8icpykQtnuzbTedI4ZaJmlihXD9R20FXUkX1em+wbHRmPvz7h5iCautP0h7WUs5+JegZ5 TS2V+lhMaKeEpXL7uC1A/1i4GzFKY5toNXHI81dUfIScRRm2jwsMOFMH30NJcwTx2i6xMd VRhMynR5yT8WxH2rgnAToxTcODhzwccoPMxmofBHPR7IGyOmvJYQaav+DwB3yQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779815820; a=rsa-sha256; cv=none; b=cpEdF4BSlE36GM7uTVpYlMh/P6Yqauv+D0L9mVvthaJr2MUQlCsnYvSlC1GaIOL9bMv0V3 xxTQVUxcWf0WqjkBneK69aKMpiZvUbeHKQLUx9dfOQIAyAG/ERWqGAtM1DWeNQZghorZV2 LBzqPizHKHO71zQOkiVF9eiZRP+yO0qLxOfycb8dioCyWzW8OD7QIwFQ+BFKP1y2BkORGY mWNk/OXLi78cI4rDEEJiv14edpN83vf1UpsdSgYzEG7uzNMEi9WaJfbRT254D464jH3VNx +ltkX23h6uRrYuwgua93mU6dkTo9UaV+zEvc4Km5OxVOBlQrnqqZRn8Bo1+WLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779815820; 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=jbw2TtdSzqWGFStM4zir26khu8TIoP/wfciwrK+l8k0=; b=wZuEZln40Yev1Qxq7GRSpzHCXLd2/XGGc1NBTFAftC3uZ5k2x7juvJDBqqblVlKVC7m2EP 8V1+PrHbBTR7SbnQ/d6lsuZHcts3ljCSbVs4g2oRa1pMn8gFUTID0l00j4b5rzGCxj5CtO vOhG9PKhzvDfv41hn8PpamB1k/fV4JXAwEaT1S84s9Yi+9zSLP3lFJXjswgz+eP0G7t84y 5rSofEjH3U+lGw+YNy4UdsFF4rVN9WgxSnxVtYpZ0y93Otzre/e1SZ5GBHc8cOlEK60aWe Z5GNsCkkbhCl3xWfFYcIoqrHZrJQUqKa5ptLZEOA3E7Ku2JFyTrymJ2xBHmy+g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gPzvJ5GLSz62X for ; Tue, 26 May 2026 17:17:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 39c23 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 26 May 2026 17:16:55 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: fea07b76a0bc - stable/14 - nlist.3: Replace a.out(5) Xref with elf(5) 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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/14 X-Git-Reftype: branch X-Git-Commit: fea07b76a0bc602e087e318de1720cc19477e2ca Auto-Submitted: auto-generated Date: Tue, 26 May 2026 17:16:55 +0000 Message-Id: <6a15d587.39c23.7c30a163@gitrepo.freebsd.org> The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=fea07b76a0bc602e087e318de1720cc19477e2ca commit fea07b76a0bc602e087e318de1720cc19477e2ca Author: Ed Maste AuthorDate: 2026-05-18 14:50:22 +0000 Commit: Ed Maste CommitDate: 2026-05-26 17:16:27 +0000 nlist.3: Replace a.out(5) Xref with elf(5) ELF support was added to nlist() in 1997, and a.out support was removed in 2020. The man page was not updated for either of these changes. Fixes: 77909f597881 ("Initial elf nlist support, ...") Fixes: 86cfa7e70b2b ("nlist: retire long-obsolete aout support") Sponsored by: The FreeBSD Foundation (cherry picked from commit 876a17321c896427d70de94101df4d888a19189b) struct nlist is documented in both a.out(5) and stab(5), so add an Xref to the latter. (cherry picked from commit 762e451b318c8cbfddbcaaa92a218e8b45306eb9) (cherry picked from commit 9d9651c49575e27f2873c10bb7fe855be29ff48a) --- lib/libc/gen/nlist.3 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/nlist.3 b/lib/libc/gen/nlist.3 index ef5b8d95282e..876af0ab6bc1 100644 --- a/lib/libc/gen/nlist.3 +++ b/lib/libc/gen/nlist.3 @@ -25,9 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)nlist.3 8.3 (Berkeley) 4/19/94 -.\" -.Dd April 19, 1994 +.Dd May 18, 2026 .Dt NLIST 3 .Os .Sh NAME @@ -45,7 +43,7 @@ The function retrieves name list entries from the symbol table of an executable file (see -.Xr a.out 5 ) . +.Xr elf 5 ) . The argument .Fa \&nl is set to reference the @@ -68,7 +66,8 @@ if the file .Fa filename does not exist or is not executable, the returned value is \-1. .Sh SEE ALSO -.Xr elf 5 +.Xr elf 5 , +.Xr stab 5 .Sh HISTORY A .Fn nlist