From: Carlos O'Donell Date: Sun, 14 Jan 2018 04:21:57 +0000 (-0800) Subject: Synchronize DF_1_* flags with binutils (Bug 22707) X-Git-Tag: glibc-2.27~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=505d39100454b38c62a8eff4c1b7c06b4a31f3aa;p=thirdparty%2Fglibc.git 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 --- diff --git a/ChangeLog b/ChangeLog index f33212f5496..e5e69842647 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-01-13 Carlos O'Donell + + [BZ #22707] + * elf/elf.h (DF_1_STUB): Define. + (DF_1_PIE): Define. + 2018-01-12 Tulio Magno Quites Machado Filho [BZ #22697] diff --git a/elf/elf.h b/elf/elf.h index 031850377bb..da5ccb23ce5 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