[binutils-gdb] Define a new DT_GNU_FLAGS_1 dynamic section for ld, readelf et al
Alan Modra
amodra@sourceware.org
Tue Dec 15 08:15:49 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ee0688c2339deba4bca7d57a96001183aa06a765
commit ee0688c2339deba4bca7d57a96001183aa06a765
Author: Vivek Das Mohapatra <vivek@collabora.com>
Date: Mon Dec 14 17:25:50 2020 +0000
Define a new DT_GNU_FLAGS_1 dynamic section for ld, readelf et al
DT_GNU_FLAGS_1 added to the DT_VALRNGLO-DT_VALRNGHI range.
DT_GNU_FLAGS_1 value DF_GNU_1_UNIQUE added.
* elf/common.h (DT_GNU_FLAGS_1, DF_GNU_1_UNIQUE): Define.
Diff:
---
include/ChangeLog | 4 ++++
include/elf/common.h | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/include/ChangeLog b/include/ChangeLog
index c2a63298032..f19742eafb6 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-15 Vivek Das Mohapatra <vivek@collabora.com>
+
+ * elf/common.h (DT_GNU_FLAGS_1, DF_GNU_1_UNIQUE): Define.
+
2020-12-11 Cary Coutant <ccoutant@gmail.com>
* elf/common.h: Update list of e_machine values.
diff --git a/include/elf/common.h b/include/elf/common.h
index 37122ccd99b..4d3718a2f01 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1044,6 +1044,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
@@ -1107,6 +1108,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
More information about the Binutils-cvs
mailing list