* elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if
authorRichard Henderson <rth@redhat.com>
Thu, 29 Jul 1999 22:20:26 +0000 (22:20 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 29 Jul 1999 22:20:26 +0000 (22:20 +0000)
        dynamic_sections_created.

bfd/ChangeLog
bfd/elf32-mips.c

index 475c97cafc80c53ba818f206a1b0bd973792d24e..fdd1f475c861a924441aff0948ab9f7996a1eb38 100644 (file)
@@ -1,3 +1,8 @@
+1999-07-29  Richard Henderson  <rth@cygnus.com>
+
+       * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if
+       dynamic_sections_created.
+
 1999-07-29  Richard Henderson  <rth@cygnus.com>
 
        * elf32-mips.c (mips_info_to_howto_rel): Split out switch to ...
index 34a2a7e826e64a6fc26b9ea6d07b10eba3be6238..b5596bdaef718f36f4eb928ebfad8f1b0a46d1df 100644 (file)
@@ -4341,7 +4341,7 @@ _bfd_mips_elf_final_link (abfd, info)
      generic size_dynamic_sections renumbered them out from under us.
      Rather than trying somehow to prevent the renumbering, just do
      the sort again.  */
-  if (elf_hash_table (info)->dynobj)
+  if (elf_hash_table (info)->dynamic_sections_created)
     {
       bfd *dynobj;
       asection *got;