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

Message ID 20190312110919.B87BC81E1D18@oldenburg2.str.redhat.com
State New
Headers show
Series
  • elf: Add DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON to <elf.h>
Related show

Commit Message

Florian Weimer March 12, 2019, 11:09 a.m. UTC
These constants (originally from Solaris) were part of the binutils
2.31 release.

2019-03-12  Florian Weimer  <fweimer@redhat.com>

	* elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.

Comments

Andreas Schwab March 12, 2019, 11:25 a.m. UTC | #1
On Mär 12 2019, Florian Weimer <fweimer@redhat.com> wrote:

> 	* elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.

Ok.

Andreas.

Patch
diff mbox series

diff --git a/elf/elf.h b/elf/elf.h
index 01648bdb4c..28296c7efd 100644
--- 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