From 64575f782b79e310852e43947bc1b06f24af388e Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 19 Apr 2017 16:51:17 +0100 Subject: [PATCH] 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. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-mips.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 214d0a8c73..ae6cbf05e2 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 992ee06786..8f6faad579 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; -- 2.34.1