summaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2008-04-16 23:21:01 +0000
committerDavid S. Miller <davem@redhat.com>2008-04-16 23:21:01 +0000
commit1cd0dedb29f3e96116c0d853d6441453d6a11cf8 (patch)
tree422e31745d0c977504fd32501ddba236fbbce6c0 /elfcpp
parent1ab93861d1aaa0314e79644e7870f59ab5ce6703 (diff)
downloadbinutils-redhat-1cd0dedb29f3e96116c0d853d6441453d6a11cf8.tar.gz
elfcpp/
* elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP, DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST, DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS, DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP, DF_1_CONLFAT): New enum constants. gold/ * options.h (DEFINE_enable): New macro. (new_dtags): New enable option. (initfirst, interpose, loadfltr, nodefaultlib, nodelete, nodlopen, nodump): New -z options. * layout.cc (Layout:finish_dynamic_section): If new dtags enabled, emit DT_RUNPATH. Also, emit a DT_FLAGS_1 containing any specified -z flags.
Diffstat (limited to 'elfcpp')
-rw-r--r--elfcpp/ChangeLog8
-rw-r--r--elfcpp/elfcpp.h20
2 files changed, 28 insertions, 0 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index 588620c243..c543d830a1 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,11 @@
+2008-04-16 David S. Miller <davem@davemloft.net>
+
+ * elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP,
+ DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST,
+ DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS,
+ DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP,
+ DF_1_CONLFAT): New enum constants.
+
2008-04-15 David S. Miller <davem@davemloft.net>
* sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h
index b2ccbf569c..a2a72521f6 100644
--- a/elfcpp/elfcpp.h
+++ b/elfcpp/elfcpp.h
@@ -688,6 +688,26 @@ enum DF
DF_STATIC_TLS = 0x10
};
+// Flags found in the DT_FLAGS_1 dynamic element.
+
+enum DF_1
+{
+ DF_1_NOW = 0x1,
+ DF_1_GLOBAL = 0x2,
+ DF_1_GROUP = 0x4,
+ DF_1_NODELETE = 0x8,
+ DF_1_LOADFLTR = 0x10,
+ DF_1_INITFIRST = 0x20,
+ DF_1_NOOPEN = 0x40,
+ DF_1_ORIGIN = 0x80,
+ DF_1_DIRECT = 0x100,
+ DF_1_TRANS = 0x200,
+ DF_1_INTERPOSE = 0x400,
+ DF_1_NODEFLIB = 0x800,
+ DF_1_NODUMP = 0x1000,
+ DF_1_CONLFAT = 0x2000,
+};
+
// Version numbers which appear in the vd_version field of a Verdef
// structure.