* format.c (bfd_check_format_matches): Record matching targets even
commit8aa9f0e7b16a752e912f33418af26a54a5311b76
authorAlan Modra <amodra@bigpond.net.au>
Fri, 14 Sep 2007 05:19:27 +0000 (14 05:19 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 14 Sep 2007 05:19:27 +0000 (14 05:19 +0000)
treeba76ba50841e9746d2c05b34ddb04ebf6ba02b3b
parentba59f26cb51acb72b8a7af37aa5b9dcd9aa51ec4
* format.c (bfd_check_format_matches): Record matching targets even
when "matching" is NULL to allow bfd_associated_vector matches.
Consolidate error return code.  Consolidate ok return code.  Always
restore original target and format on error.
bfd/ChangeLog
bfd/format.c