This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
[patch] ld/ldfile.c
- To: binutils at sourceware dot cygnus dot com
- Subject: [patch] ld/ldfile.c
- From: Kazu Hirata <kazu at hxi dot com>
Hi,
Attached is a patch for ld/ldfile.c. With the patch applied, ld
outputs '\n' after the following message:
"%P: skipping incompatible %s when searching for %s"
The message would be quite ugly without '\n'.
Thanks,
Kazu Hirata
===File ~/h8300-hms/binutils/ChangeLog-ld===================
2000-06-08 Kazu Hirata <kazu@hxi.com>
* ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
message.
============================================================
===File ~/h8300-hms/binutils/ld.patch=======================
Index: ldfile.c
===================================================================
RCS file: /cvs/src/src/ld/ldfile.c,v
retrieving revision 1.5
diff -u -r1.5 ldfile.c
--- ldfile.c 2000/03/06 18:08:38 1.5
+++ ldfile.c 2000/06/08 23:05:24
@@ -137,7 +137,7 @@
return true;
if (bfd_arch_get_compatible (check, output_bfd) == NULL)
{
- einfo (_("%P: skipping incompatible %s when searching for %s"),
+ einfo (_("%P: skipping incompatible %s when searching for %s\n"),
attempt, entry->local_sym_name);
bfd_close (entry->the_bfd);
entry->the_bfd = NULL;
============================================================