MIPS/BFD: Reorder comment about dynamic symbol sorting
authorMaciej W. Rozycki <macro@imgtec.com>
Wed, 19 Apr 2017 15:51:17 +0000 (16:51 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Thu, 20 Apr 2017 15:21:24 +0000 (16:21 +0100)
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
bfd/elfxx-mips.c

index 214d0a8..ae6cbf0 100644 (file)
@@ -1,3 +1,8 @@
+2017-04-20  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_final_link): Reorder comment about
+       dynamic symbol sorting.
+
 2017-04-20  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/21382
index 992ee06..8f6faad 100644 (file)
@@ -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;