elf: Add DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON to <elf.h>
authorFlorian Weimer <fweimer@redhat.com>
Tue, 12 Mar 2019 11:06:01 +0000 (12:06 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 12 Mar 2019 11:06:01 +0000 (12:06 +0100)
These constants (originally from Solaris) were part of the binutils
2.31 release.

ChangeLog
elf/elf.h

index 2f72e0f..14d0872 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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>
+
        [BZ #24047]
        resolv: Enable full ICMP errors for UDP DNS sockets
        * resolv/res_enable_icmp.c: New file.
index 01648bd..28296c7 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -987,6 +987,9 @@ typedef struct
 #define        DF_1_SINGLETON  0x02000000      /* Singleton symbols are used.  */
 #define        DF_1_STUB       0x04000000
 #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.  */
 #define DTF_1_PARINIT  0x00000001