binutils ChangeLog:
[deliverable/binutils-gdb.git] / bfd / libpei.h
index 72fa7b5f7287d53cfa5b545cd929156d4ce5a49a..9ed9c1224e76e2ba50ea5e76178e52ec1d6250d8 100644 (file)
@@ -332,4 +332,6 @@ bfd_boolean _bfd_XX_bfd_copy_private_section_data
   PARAMS ((bfd *, asection *, bfd *, asection *));
 
 /* Macro: Returns true if the bfd is a PE executable as opposed to a PE object file.  */
-#define bfd_pe_executable_p(abfd)  (strncmp ((abfd)->xvec->name, "pei-", 4) == 0)
+#define bfd_pe_executable_p(abfd) \
+  (strncmp ((abfd)->xvec->name, "pei-", 4) == 0                \
+   || strncmp ((abfd)->xvec->name, "efi-app-", 8) == 0)
This page took 0.026067 seconds and 4 git commands to generate.