Date: Tue, 26 May 2026 17:13:53 +0000 From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 9d9651c49575 - stable/15 - nlist.3: Replace a.out(5) Xref with elf(5) Message-ID: <6a15d4d1.39d91.246aabca@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=9d9651c49575e27f2873c10bb7fe855be29ff48a commit 9d9651c49575e27f2873c10bb7fe855be29ff48a Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2026-05-18 14:50:22 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2026-05-26 17:13:35 +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) --- lib/libc/gen/nlist.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/libc/gen/nlist.3 b/lib/libc/gen/nlist.3 index f4ef59083dab..876af0ab6bc1 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 @@ -66,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 nlisthome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a15d4d1.39d91.246aabca>
