git: 876a17321c89 - main - nlist.3: Replace a.out(5) Xref with elf(5)

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Mon, 18 May 2026 14:55:40 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=876a17321c896427d70de94101df4d888a19189b

commit 876a17321c896427d70de94101df4d888a19189b
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-05-18 14:50:22 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-05-18 14:55:32 +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
---
 lib/libc/gen/nlist.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libc/gen/nlist.3 b/lib/libc/gen/nlist.3
index f4ef59083dab..4df349eed52e 100644
--- a/lib/libc/gen/nlist.3
+++ b/lib/libc/gen/nlist.3
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd April 19, 1994
+.Dd May 18, 2026
 .Dt NLIST 3
 .Os
 .Sh NAME
@@ -43,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