---- binutils-2.16.90.0.3/bfd/elflink.c.orig 2005-05-12 00:27:10.731646000 +0200
-+++ binutils-2.16.90.0.3/bfd/elflink.c 2005-05-12 23:05:36.202227648 +0200
-@@ -7107,8 +7107,6 @@
- (_("`%s' referenced in section `%A' of %B: "
- "defined in discarded section `%A' of %B"),
- o, input_bfd, sec, sec->owner, sym_name);
-- bfd_set_error (bfd_error_bad_value);
-- return FALSE;
- }
+--- binutils-2.22.52.0.4/bfd/elflink.c.orig 2012-06-12 20:17:08.000000000 +0200
++++ binutils-2.22.52.0.4/bfd/elflink.c 2012-06-12 20:19:42.632670882 +0200
+@@ -9643,7 +9643,7 @@
+ BFD_ASSERT (r_symndx != STN_UNDEF);
+ if (action_discarded & COMPLAIN)
+ (*flinfo->info->callbacks->einfo)
+- (_("%X`%s' referenced in section `%A' of %B: "
++ (_("`%s' referenced in section `%A' of %B: "
+ "defined in discarded section `%A' of %B\n"),
+ sym_name, o, input_bfd, sec, sec->owner);
- /* Try to do the best we can to support buggy old