From: Maciej W. Rozycki Date: Wed, 19 Apr 2017 15:51:17 +0000 (+0100) Subject: MIPS/BFD: Reorder comment about dynamic symbol sorting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64575f782b79e310852e43947bc1b06f24af388e;p=binutils-gdb.git MIPS/BFD: Reorder comment about dynamic symbol sorting Move the comment about dynamic symbol sorting next to where it happens. bfd/ * elfxx-mips.c (_bfd_mips_elf_final_link): Reorder comment about dynamic symbol sorting. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 214d0a8c730..ae6cbf05e2a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2017-04-20 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_final_link): Reorder comment about + dynamic symbol sorting. + 2017-04-20 H.J. Lu PR ld/21382 diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 992ee067869..8f6faad579e 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -14271,11 +14271,11 @@ _bfd_mips_elf_final_link (bfd *abfd, struct bfd_link_info *info) scRData, scSData, scSBss, scBss }; - /* Sort the dynamic symbols so that those with GOT entries come after - those without. */ htab = mips_elf_hash_table (info); BFD_ASSERT (htab != NULL); + /* Sort the dynamic symbols so that those with GOT entries come after + those without. */ if (!mips_elf_sort_hash_table (abfd, info)) return FALSE;