git: eccd076e8e71 - stable/14 - sys/elf_common.h: add the DF_1_INITFIRST flag definition

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 10 May 2025 19:33:11 UTC
The branch stable/14 has been updated by kib:

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

commit eccd076e8e7131f4e19b260d8281b778a07dfbfb
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-05-03 10:49:45 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-05-10 18:57:46 +0000

    sys/elf_common.h: add the DF_1_INITFIRST flag definition
    
    (cherry picked from commit 31a24831802389f52f3ebb7fdf670ee0e4dd608e)
---
 sys/sys/elf_common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 2f132e43efac..0b5a91019c70 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -770,6 +770,7 @@ typedef struct {
 #define	DF_1_GLOBAL	0x00000002	/* Set the RTLD_GLOBAL for object */
 #define	DF_1_NODELETE	0x00000008	/* Set the RTLD_NODELETE for object */
 #define	DF_1_LOADFLTR	0x00000010	/* Immediate loading of filtees */
+#define	DF_1_INITFIRST	0x00000020	/* Initialize DSO first at runtime */
 #define	DF_1_NOOPEN     0x00000040	/* Do not allow loading on dlopen() */
 #define	DF_1_ORIGIN	0x00000080	/* Process $ORIGIN */
 #define	DF_1_INTERPOSE	0x00000400	/* Interpose all objects but main */