* elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if

dynamic_sections_created.
This commit is contained in:
Richard Henderson 1999-07-29 22:20:26 +00:00
parent c9b3cbf33c
commit 441d6d7953
2 changed files with 6 additions and 1 deletions

View 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 ...

View 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;