about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2018-01-13 20:21:57 -0800
committerCarlos O'Donell <carlos@redhat.com>2018-01-13 20:23:05 -0800
commit505d39100454b38c62a8eff4c1b7c06b4a31f3aa (patch)
tree2889a2142df5bdf6a42cf1b61083077bcc1758df /elf
parentaf1e6be4ba60067907ea9e19e0cd6897d194e9cf (diff)
downloadglibc-505d39100454b38c62a8eff4c1b7c06b4a31f3aa.tar.gz
glibc-505d39100454b38c62a8eff4c1b7c06b4a31f3aa.tar.xz
glibc-505d39100454b38c62a8eff4c1b7c06b4a31f3aa.zip
Synchronize DF_1_* flags with binutils (Bug 22707)
This patch synchronizes DF_1_* flags with binutils
and ensures that all DF_1_* flags defined in binutil's
include/elf/common.h are also defined glibc's elf/elf.h.
This is a user visible change since elf/elf.h is installed
by default as /usr/include/elf.h.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 031850377b..da5ccb23ce 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -967,6 +967,8 @@ typedef struct
 #define	DF_1_SYMINTPOSE	0x00800000	/* Object has individual interposers.  */
 #define	DF_1_GLOBAUDIT	0x01000000	/* Global auditing required.  */
 #define	DF_1_SINGLETON	0x02000000	/* Singleton symbols are used.  */
+#define	DF_1_STUB	0x04000000
+#define	DF_1_PIE	0x08000000
 
 /* Flags for the feature selection in DT_FEATURE_1.  */
 #define DTF_1_PARINIT	0x00000001