2003-08-18 Andreas Schwab <schwab@suse.de>
* libpei.h (bfd_pe_executable_p): Also recognize efi-app executables.
This commit is contained in:
parent
954a4db8ea
commit
4091ea4e21
|
@ -1,3 +1,8 @@
|
||||||
|
2003-08-18 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* libpei.h (bfd_pe_executable_p): Also recognize efi-app
|
||||||
|
executables.
|
||||||
|
|
||||||
2003-08-17 Hans-Peter Nilsson <hp@bitrange.com>
|
2003-08-17 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
* simple.c (bfd_simple_get_relocated_section_contents): Move
|
* simple.c (bfd_simple_get_relocated_section_contents): Move
|
||||||
|
|
|
@ -332,4 +332,6 @@ bfd_boolean _bfd_XX_bfd_copy_private_section_data
|
||||||
PARAMS ((bfd *, asection *, bfd *, asection *));
|
PARAMS ((bfd *, asection *, bfd *, asection *));
|
||||||
|
|
||||||
/* Macro: Returns true if the bfd is a PE executable as opposed to a PE object file. */
|
/* 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)
|
||||||
|
|
Loading…
Reference in New Issue