elf: Add DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON to <elf.h>

These constants (originally from Solaris) were part of the binutils
2.31 release.
This commit is contained in:
Florian Weimer 2019-03-12 12:06:01 +01:00
parent 08504de718
commit 38b52865d4
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-03-12 Florian Weimer <fweimer@redhat.com>
* elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2019-03-12 Florian Weimer <fweimer@redhat.com> 2019-03-12 Florian Weimer <fweimer@redhat.com>
[BZ #24047] [BZ #24047]

View File

@ -987,6 +987,9 @@ typedef struct
#define DF_1_SINGLETON 0x02000000 /* Singleton symbols are used. */ #define DF_1_SINGLETON 0x02000000 /* Singleton symbols are used. */
#define DF_1_STUB 0x04000000 #define DF_1_STUB 0x04000000
#define DF_1_PIE 0x08000000 #define DF_1_PIE 0x08000000
#define DF_1_KMOD 0x10000000
#define DF_1_WEAKFILTER 0x20000000
#define DF_1_NOCOMMON 0x40000000
/* Flags for the feature selection in DT_FEATURE_1. */ /* Flags for the feature selection in DT_FEATURE_1. */
#define DTF_1_PARINIT 0x00000001 #define DTF_1_PARINIT 0x00000001