OSDN Git Service

2000-07-20 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl@lucon.org>
Fri, 21 Jul 2000 02:16:31 +0000 (02:16 +0000)
committerH.J. Lu <hjl@lucon.org>
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 b83198c..782f959 100644 (file)
@@ -1,5 +1,10 @@
 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
        DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.
 
index 10cf2ae..5e74a5f 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