This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Improved vendor-specific objects error message
- From: Daniel Gutson <dgutson at codesourcery dot com>
- To: binutils at sourceware dot org
- Date: Fri, 25 Dec 2009 04:42:43 -0300
- Subject: [PATCH] Improved vendor-specific objects error message
Hi,
the attached patch improves the error message of vendor-specific
objects issues.
Please let me know if OK to commit.
Daniel.
ChangeLog:
2009-12-25 Daniel Gutson <dgutson@codesourcery.com>
bfd/
* elf-attrs.c (_bfd_elf_merge_object_attributes): Error
message rephrased.
--
Daniel Gutson
CodeSourcery
www.codesourcery.com
? msg.patch
Index: bfd/elf-attrs.c
===================================================================
RCS file: /cvs/src/src/bfd/elf-attrs.c,v
retrieving revision 1.10
diff -u -p -r1.10 elf-attrs.c
--- bfd/elf-attrs.c 9 Sep 2009 21:38:57 -0000 1.10
+++ bfd/elf-attrs.c 25 Dec 2009 07:37:11 -0000
@@ -564,7 +564,8 @@ _bfd_elf_merge_object_attributes (bfd *i
if (in_attr->i > 0 && strcmp (in_attr->s, "gnu") != 0)
{
_bfd_error_handler
- (_("error: %B: Must be processed by '%s' toolchain"),
+ (_("error: %B: Object has vendor-specific contents that "
+ "must be processed by the '%s' toolchain"),
ibfd, in_attr->s);
return FALSE;
}