From: Richard Henderson Date: Thu, 29 Jul 1999 22:20:26 +0000 (+0000) Subject: * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if X-Git-Tag: gdb-1999-08-02~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=441d6d7953835616109a525e4e20cda0eb5df2e3;p=external%2Fbinutils.git * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if dynamic_sections_created. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 475c97c..fdd1f47 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 1999-07-29 Richard Henderson + * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if + dynamic_sections_created. + +1999-07-29 Richard Henderson + * elf32-mips.c (mips_info_to_howto_rel): Split out switch to ... (mips_rtype_to_howto): ... new function. (_bfd_mips_elf_relocate_section): Use it. diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 34a2a7e..b5596bd 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -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;