aboutsummaryrefslogtreecommitdiff
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
commit7c41443585981fab8c7b9d375df49b9f8c779b5d (patch)
tree53a76409ab731fe4b602c6ac9d3f1bcb439adca7 /elfcpp
parentdacec2a8bd47e90428f29f32d55ecb243e1d9ecd (diff)
downloadbinutils-7c41443585981fab8c7b9d375df49b9f8c779b5d.zip
binutils-7c41443585981fab8c7b9d375df49b9f8c779b5d.tar.gz
binutils-7c41443585981fab8c7b9d375df49b9f8c779b5d.tar.bz2
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 588620c..c543d83 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 b2ccbf5..a2a7252 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.