aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorVivek Das Mohapatra <vivek@collabora.com>2020-12-14 17:25:50 +0000
committerAlan Modra <amodra@gmail.com>2020-12-15 18:44:43 +1030
commitee0688c2339deba4bca7d57a96001183aa06a765 (patch)
treee497bb7238f6eadb0951893edb89e2b66fdff2ee /include/elf
parent60598dbd58c80cf6ef810ebd7c92e5ef185d5501 (diff)
downloadgdb-ee0688c2339deba4bca7d57a96001183aa06a765.zip
gdb-ee0688c2339deba4bca7d57a96001183aa06a765.tar.gz
gdb-ee0688c2339deba4bca7d57a96001183aa06a765.tar.bz2
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.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 37122cc..4d3718a 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