summaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorVivek Das Mohapatra <vivek@collabora.com>2020-12-14 17:25:54 +0000
committerAlan Modra <amodra@gmail.com>2020-12-15 18:45:16 +1030
commitaf3c233bdb68e23b64a7453c1a08b4437ecd65b3 (patch)
tree4d2d702a74e51e75078c1f255fd0bcf65f65fdfc /elfcpp
parenta5da3dee21c1c2f52c1e9f5c0e5ed82fce5bb429 (diff)
downloadbinutils-gdb-af3c233bdb68e23b64a7453c1a08b4437ecd65b3.tar.gz
Define DT_GNU_FLAGS_1 and DF_GNU_1_UNIQUE for gold
* elfcpp.h (enum DT): New enum member DT_GNU_FLAGS_1. (enum DF_GNU_1): New enum DF_GNU_1 containing DF_GNU_1_UNIQUE.
Diffstat (limited to 'elfcpp')
-rw-r--r--elfcpp/ChangeLog5
-rw-r--r--elfcpp/elfcpp.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index c72a432e095..8d0a6ff3ecd 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,8 @@
+2020-12-15 Vivek Das Mohapatra <vivek@collabora.com>
+
+ * elfcpp.h (enum DT): New enum member DT_GNU_FLAGS_1.
+ (enum DF_GNU_1): New enum DF_GNU_1 containing DF_GNU_1_UNIQUE.
+
2020-10-13 H.J. Lu <hongjiu.lu@intel.com>
* elfcpp.h (GNU_PROPERTY_X86_ISA_1_USED): Renamed to ...
diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h
index 2d333e992f6..ee69d322e79 100644
--- a/elfcpp/elfcpp.h
+++ b/elfcpp/elfcpp.h
@@ -733,6 +733,7 @@ enum DT
// The remaining values are extensions used by GNU or Solaris.
DT_VALRNGLO = 0x6ffffd00,
+ DT_GNU_FLAGS_1 = 0x6ffffdf4,
DT_GNU_PRELINKED = 0x6ffffdf5,
DT_GNU_CONFLICTSZ = 0x6ffffdf6,
DT_GNU_LIBLISTSZ = 0x6ffffdf7,
@@ -922,6 +923,12 @@ enum DF_1
DF_1_PIE = 0x08000000
};
+// Flags found in the DT_GNU_FLAGS_1 dynamic element.
+enum DF_GNU_1
+{
+ DF_GNU_1_UNIQUE = 0x1,
+};
+
// Version numbers which appear in the vd_version field of a Verdef
// structure.