This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Add `\n' for info->callbacks->einfo
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 7 Apr 2009 13:02:50 -0700
- Subject: PATCH: Add `\n' for info->callbacks->einfo
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
I am checking in this patch to add the missing `\n'.
H.J.
---
Index: linker.c
===================================================================
--- linker.c (revision 5645)
+++ linker.c (working copy)
@@ -3095,7 +3095,7 @@ _bfd_generic_section_already_linked (bfd
/* This is the first section with this name. Record it. */
if (! bfd_section_already_linked_table_insert (already_linked_list, sec))
- info->callbacks->einfo (_("%F%P: already_linked_table: %E"));
+ info->callbacks->einfo (_("%F%P: already_linked_table: %E\n"));
}
/* Convert symbols in excluded output sections to use a kept section. */
Index: ChangeLog
===================================================================
--- ChangeLog (revision 5645)
+++ ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2009-04-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elflink.c (_bfd_elf_section_already_linked): Add `\n' for
+ info->callbacks->einfo.
+ * linker.c (_bfd_generic_section_already_linked): Likewise.
+
2009-04-06 H.J. Lu <hongjiu.lu@intel.com>
* coff-x86_64.c (bfd_pe_print_pdata): Defined to
Index: elflink.c
===================================================================
--- elflink.c (revision 5645)
+++ elflink.c (working copy)
@@ -12365,7 +12365,7 @@ _bfd_elf_section_already_linked (bfd *ab
/* This is the first section with this name. Record it. */
if (! bfd_section_already_linked_table_insert (already_linked_list, sec))
- info->callbacks->einfo (_("%F%P: already_linked_table: %E"));
+ info->callbacks->einfo (_("%F%P: already_linked_table: %E\n"));
}
bfd_boolean