[RFC][PATCH v4 1/6] Define a new DT_GNU_FLAGS_1 dynamic section for ld, readelf et al
Vivek Das Mohapatra
vivek@collabora.com
Thu Jul 9 15:29:33 GMT 2020
DT_GNU_FLAGS_1 added to the DT_VALRNGLO-DT_VALRNGHI range.
DT_GNU_FLAGS_1 value DF_GNU_1_UNIQUE added.
---
include/elf/common.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/elf/common.h b/include/elf/common.h
index 4d94c4fd5b..ad57dd583b 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1003,6 +1003,7 @@
deliberate special case and we maintain it for backwards compatability.
*/
#define DT_VALRNGLO 0x6ffffd00
+#define DT_GNU_FLAGS_1 0x6ffffdf4
#define DT_GNU_PRELINKED 0x6ffffdf5
#define DT_GNU_CONFLICTSZ 0x6ffffdf6
#define DT_GNU_LIBLISTSZ 0x6ffffdf7
@@ -1066,6 +1067,9 @@
#define DF_P1_LAZYLOAD 0x00000001
#define DF_P1_GROUPPERM 0x00000002
+/* Flag value in the DT_GNU_FLAGS_1 /dynamic entry. */
+#define DF_GNU_1_UNIQUE 0x00000001
+
/* Flag value in in the DT_FLAGS_1 .dynamic entry. */
#define DF_1_NOW 0x00000001
#define DF_1_GLOBAL 0x00000002
--
2.11.0
More information about the Binutils
mailing list