aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-07-29 22:20:26 +0000
committerRichard Henderson <rth@redhat.com>1999-07-29 22:20:26 +0000
commit441d6d7953835616109a525e4e20cda0eb5df2e3 (patch)
tree21d0000befd876c7e553afd2dd2a02b5102c099f /bfd/elf32-mips.c
parentc9b3cbf33cce90603516003ad3eb8f27488331f1 (diff)
downloadgdb-441d6d7953835616109a525e4e20cda0eb5df2e3.zip
gdb-441d6d7953835616109a525e4e20cda0eb5df2e3.tar.gz
gdb-441d6d7953835616109a525e4e20cda0eb5df2e3.tar.bz2
* elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if
dynamic_sections_created.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c2
1 files changed, 1 insertions, 1 deletions
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;