* format.c (bfd_check_format_matches): Record matching targets even
authorAlan Modra <amodra@gmail.com>
Fri, 14 Sep 2007 05:19:27 +0000 (05:19 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 14 Sep 2007 05:19:27 +0000 (05:19 +0000)
commit5a1dcb7e26b5c8bd2914f94b95c8bb7725134f44
tree5b6557ca1b5eff9d86d7a80d83746517dd30f2d3
parent8bb15339419de4a3ceb5db9d3dd53a06406d3fe1
* 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