This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Patch linker error message about merging target specific information
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: binutils at sources dot redhat dot com
- Date: 23 Feb 2004 14:43:58 -0500
- Subject: Patch linker error message about merging target specific information
The error message in lang_check() in ld/ldlang.c started with %E,
which is the errno value, which makes no sense. I fixed it to use %P.
Ian
2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
* ldlang.c (lang_check): Use %P, not %E, in error message.
Index: ldlang.c
===================================================================
RCS file: /cvs/src/src/ld/ldlang.c,v
retrieving revision 1.138
diff -p -u -r1.138 ldlang.c
--- ldlang.c 23 Feb 2004 10:10:01 -0000 1.138
+++ ldlang.c 23 Feb 2004 19:15:03 -0000
@@ -3686,7 +3686,7 @@ lang_check (void)
if (! bfd_merge_private_bfd_data (input_bfd, output_bfd))
{
if (command_line.warn_mismatch)
- einfo (_("%E%X: failed to merge target specific data of file %B\n"),
+ einfo (_("%P%X: failed to merge target specific data of file %B\n"),
input_bfd);
}
if (! command_line.warn_mismatch)