This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/BFD: Reorder comment about dynamic symbol sorting
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Thu, 20 Apr 2017 16:35:41 +0100
- Subject: [committed] MIPS/BFD: Reorder comment about dynamic symbol sorting
- Authentication-results: sourceware.org; auth=none
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;