git: 3d5a0b722ebe - stable/15 - sys/elf_common.h: Add the gABI spelling for a dynamic tag value.

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 21 Oct 2026 12:11:20 UTC
The branch stable/15 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=3d5a0b722ebe1b3d33123befecff51e99b1c5bb5

commit 3d5a0b722ebe1b3d33123befecff51e99b1c5bb5
Author:     Joseph Koshy <jkoshy@FreeBSD.org>
AuthorDate: 2026-03-13 10:56:17 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-10-21 11:59:23 +0000

    sys/elf_common.h: Add the gABI spelling for a dynamic tag value.
    
    (cherry picked from commit b5f564fc5cdb56d6a24e31ca077c5f1f088a597d)
---
 sys/sys/elf_common.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 66da13005aed..32621041cb44 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -641,7 +641,10 @@ typedef struct {
 				   pre-initialization functions. */
 #define	DT_PREINIT_ARRAYSZ 33	/* Size in bytes of the array of
 				   pre-initialization functions. */
-#define	DT_MAXPOSTAGS	34	/* number of positive tags */
+#define	DT_SYMTAB_SHNDX	34	/* Address of the SHT_SYMTAB_SHNDX section
+				   associated with the symbol table referenced
+				   by the DT_SYMTAB element. */
+#define	DT_MAXPOSTAGS	34	/* (obsolete) number of positive tags */
 #define	DT_RELRSZ	35	/* Total size of ElfNN_Relr relocations. */
 #define	DT_RELR		36	/* Address of ElfNN_Relr relocations. */
 #define	DT_RELRENT	37	/* Size of each ElfNN_Relr relocation. */