From 441d6d7953835616109a525e4e20cda0eb5df2e3 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 29 Jul 1999 22:20:26 +0000 Subject: [PATCH] * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if dynamic_sections_created. --- bfd/ChangeLog | 5 +++++ bfd/elf32-mips.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 475c97cafc8..fdd1f475c86 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +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 ... diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 34a2a7e826e..b5596bdaef7 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; -- 2.30.2