2009-11-06 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Nov 2009 16:50:59 +0000 (16:50 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Nov 2009 16:50:59 +0000 (16:50 +0000)
PR ld/10912
* ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE.

ld/ChangeLog
ld/ldmain.c

index 0d10fd62947fac2c93769fee2658bce14a87a89e..b2c9b1008c03d7c4e181bc171571410651eea21d 100644 (file)
@@ -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.
index 2e9e1e65f30dd48814fa81d91296240fbb44e62a..3ba0592b78f1f3c7f82b1ef81e839e383e871f3b 100644 (file)
@@ -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;