This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] 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.
---
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;
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]