2000-07-20 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Jul 2000 02:16:31 +0000 (02:16 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Jul 2000 02:16:31 +0000 (02:16 +0000)
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
only if info->new_dtags is true.

bfd/ChangeLog
bfd/elflink.h

index b83198cf4e85903b0d9fd3fff96976c1320c7bc5..782f959a9fff14b67e76a3434d4a4cd5ee7b8f8b 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-20  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
+       only if info->new_dtags is true.
+
 2000-07-20  H.J. Lu  <hjl@gnu.org>
 
        * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set
index 10cf2ae8b911723fddede400e582b6e2ad17ea29..5e74a5f427237bff5e263760d4706b2d03f3e691 100644 (file)
@@ -3144,7 +3144,7 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
            return false;
        }
 
-      if (info->flags_1)
+      if (info->new_dtags && info->flags_1)
        {
          if (! info->shared)
            info->flags_1 &= ~ (DF_1_INITFIRST