summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-11-06 16:50:59 +0000
committerH.J. Lu <hjl@lucon.org>2009-11-06 16:50:59 +0000
commitb0c813e3444c2aff6373f7ef7a6047d545784f8c (patch)
treeb314c3c01d93f71248ca4feb05e690bdec94b4de /ld
parentf7a18150a5b93a8efce08e76b00b4f3a4a04c151 (diff)
downloadbinutils-redhat-b0c813e3444c2aff6373f7ef7a6047d545784f8c.tar.gz
2009-11-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10912 * ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldmain.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0d10fd6294..b2c9b1008c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/10912
+ * ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE.
+
2009-11-06 Kai Tietz <kai.tietz@onevision.com>
* pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro.
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 2e9e1e65f3..3ba0592b78 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -100,7 +100,7 @@ bfd_boolean add_DT_NEEDED_for_regular;
/* True means create DT_NEEDED entries for dynamic libraries that
are DT_NEEDED by dynamic libraries specifically mentioned on
the command line. */
-bfd_boolean add_DT_NEEDED_for_dynamic;
+bfd_boolean add_DT_NEEDED_for_dynamic = TRUE;
/* TRUE if we should demangle symbol names. */
bfd_boolean demangling;