Force DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559.
authorNick Clifton <nickc@redhat.com>
Wed, 23 Oct 2002 12:34:57 +0000 (12:34 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 23 Oct 2002 12:34:57 +0000 (12:34 +0000)
bfd/ChangeLog
bfd/elf64-hppa.c

index 08efbe2f86d6bbf6656db00bcdd37813f1e656f5..8e359fa8da9d14e6fe27ada8be7ab405cca0ff1e 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-23 Ross Alexander <ross.alexander@uk.neceur.com>
+
+       * elf64-hppa.c: Force DT_FLAGS to always be set.  Required by
+       HPUX 11.00 patch PHSS_26559.
+
 2002-10-22  Alexandre Oliva  <aoliva@redhat.com>
 
        * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move
index aef822a02f2d2dc286191e5f15d023bd9b6f77c9..3c8e00f2b4aee30415614dfad78fda632779c5b2 100644 (file)
@@ -1855,6 +1855,11 @@ elf64_hppa_size_dynamic_sections (output_bfd, info)
            return false;
        }
 
+      /* Force DT_FLAGS to always be set.
+        Required by HPUX 11.00 patch PHSS_26559.  */
+      if (!add_dynamic_entry (DT_FLAGS, (info)->flags))
+       return false;
+
       if (plt)
        {
          if (!add_dynamic_entry (DT_PLTRELSZ, 0)