[RFC,5/6] Define DT_FLAGS_1 flag DF_1_UNIQUE for gold

Message ID 45e8321e79f1adaa08cc56efdc482034877691e1.1585587351.git.vivek@collabora.com
State Not applicable
Headers
Series binutils patches to add DT_FLAGS_1 / DF_1_UNIQUE |

Commit Message

Vivek Dasmohapatra March 30, 2020, 5:42 p.m. UTC
  ---
 elfcpp/elfcpp.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Patch

diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h
index 339faadaf3..7740fbe202 100644
--- a/elfcpp/elfcpp.h
+++ b/elfcpp/elfcpp.h
@@ -897,6 +897,7 @@  enum DF
 };
 
 // Flags found in the DT_FLAGS_1 dynamic element.
+// See also: include/elf/common.h
 
 enum DF_1
 {
@@ -913,7 +914,8 @@  enum DF_1
   DF_1_INTERPOSE = 0x400,
   DF_1_NODEFLIB = 0x800,
   DF_1_NODUMP = 0x1000,
-  DF_1_CONLFAT = 0x2000
+  DF_1_CONLFAT = 0x2000,
+  DF_1_UNIQUE = 0x80000000
 };
 
 // Version numbers which appear in the vd_version field of a Verdef