[committed] MIPS/BFD: Reorder comment about dynamic symbol sorting

Maciej W. Rozycki macro@imgtec.com
Thu Apr 20 15:36:00 GMT 2017


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.
---
binutils-mips-bfd-elf-final-link-dynsym-sort-comment.diff
Index: binutils/bfd/elfxx-mips.c
===================================================================
--- binutils.orig/bfd/elfxx-mips.c	2017-04-07 00:33:15.000000000 +0100
+++ binutils/bfd/elfxx-mips.c	2017-04-07 00:51:59.579865480 +0100
@@ -14267,11 +14267,11 @@ _bfd_mips_elf_final_link (bfd *abfd, str
     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;
 



More information about the Binutils mailing list