* elf32.c (elf_object_p): Use ELF_ARCH stored in xvec to match
authorFred Fish <fnf@specifix.com>
Tue, 9 Mar 1993 18:59:58 +0000 (18:59 +0000)
committerFred Fish <fnf@specifix.com>
Tue, 9 Mar 1993 18:59:58 +0000 (18:59 +0000)
commit286a4427e59b56a7a65bc26ffef62740f212d85d
treed29571b4b445a96ac6ae3d4056ac68d4cd410bc9
parent16788ca9fd7352b2b20f4b11111283a8cd4212e2
* elf32.c (elf_object_p):  Use ELF_ARCH stored in xvec to match
against machine architecture stored in the ELF header, to resolve
ambiguities.
* elf32.c (bfd_section_from_shdr):  Bfd_make_section can return
NULL, so only use results when non-NULL.
* targets.c (elf32_m68k_vec, elf32_i860_vec):  Add extern decls
and add to vector of targets.
bfd/ChangeLog
bfd/elf32.c