* elfcore.h (elf_core_file_p): Ensure we have a backend match
authorAlan Modra <amodra@gmail.com>
Fri, 1 Aug 2008 12:21:28 +0000 (12:21 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 1 Aug 2008 12:21:28 +0000 (12:21 +0000)
commit11a7ae4fa9621fe4a90b201bd56f100bf4c736b6
treecee1e431e1daa8346ce70ee650b6264088164c73
parent010c8431b082740e5156b9623ba9495fc0dd1c52
* elfcore.h (elf_core_file_p): Ensure we have a backend match
with the correct arch size before rejecting the generic fallback.
* elfcode.h (elf_object_p): Likewise.  Ensure arch size matches
before accepting a target.
bfd/ChangeLog
bfd/elfcode.h
bfd/elfcore.h