diff mbox series

[COMMITTED] Synchronize DF_1_* flags with binutils [BZ #22707]

Message ID 533c8708-47da-6223-6d3a-234b9a5f214e@redhat.com
State New
Headers show
Series [COMMITTED] Synchronize DF_1_* flags with binutils [BZ #22707] | expand

Commit Message

Carlos O'Donell Jan. 14, 2018, 4:22 a.m. UTC
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.

Checked in. Verified builds with no regressions on x86_64.

2017-01-13  Carlos O'Donell  <carlos@redhat.com>

	* elf/elf.h (DF_1_STUB): Define.
	(DF_1_PIE): Define.

---
diff mbox series

Patch

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