aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-11-06 16:50:59 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-11-06 16:50:59 +0000
commitdf856bcc4d0c24105806ff7e16c04a53ff703e08 (patch)
treecc89bbd3554d007bd520c7d5d90f1bca3b14679c /ld
parente468a046931eb627c31071f9e520f7d1e8e7a3b5 (diff)
downloadgdb-df856bcc4d0c24105806ff7e16c04a53ff703e08.zip
gdb-df856bcc4d0c24105806ff7e16c04a53ff703e08.tar.gz
gdb-df856bcc4d0c24105806ff7e16c04a53ff703e08.tar.bz2
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 0d10fd6..b2c9b10 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 2e9e1e6..3ba0592 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;