2007-06-18 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 18 Jun 2007 16:26:28 +0000 (16:26 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 18 Jun 2007 16:26:28 +0000 (16:26 +0000)
commitdc1f3d8a2de4b827b4b396080acad35398a70fb4
treeba22a0824356353f77d36e51365dfa8ac640a975
parentddefa7f50892ef835baf283217701cc9acb45418
2007-06-18  H.J. Lu  <hongjiu.lu@intel.com>

* libpei.h (_bfd_XXi_final_link_postscript): Remove
duplication.
(bfd_target_pei_p): New.
(bfd_target_pei_arch): New
(bfd_target_efi_p): Likewise.
(bfd_target_efi_arch): New
(bfd_pe_executable_p): Use bfd_target_pei_p and
bfd_target_efi_p.

* peicode.h (arch_type): New enum.
(pe_arch): New function.
(pe_bfd_object_p): Don't match PE/EFI target with EFI/PE file
if there is an EFI/PE target.
bfd/ChangeLog
bfd/libpei.h
bfd/peicode.h