This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] bfd - PE/COFF updates and clarifications


Hi,

Here is a small patch for BFD to allow objdump et al. to recognise XBOX and
EFI ROM subsystems, and to identify the CLR Runtime Directory entry.

I've also changed the references to the DataDirectory array to use #define'd
indexes instead of constants (for clarity).

Phil

Index: ./bfd/ChangeLog
===================================================================
RCS file: /cvs/src/src/bfd/ChangeLog,v
retrieving revision 1.3601
diff -r1.3601 ChangeLog
0a1,11
> 2006-09-01  Phil Lello  <phil.lello@homecall.co.uk>
>         * peXXigen.c: Updates for PE/COFF V8.0, and clarification
>       (dir_names): Added CLR Runtime Header to dir_names[].
>       (_bfd_XX_print_private_bfd_data_common): Added EFI_ROM and XBOX
>       subsystem names
>       (_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out)
>       (pe_print_idata, pe_print_edata)
>       (_bfd_XX_bfd_copy_private_bfd_data_common)
>       (_bfd_XXi_final_link_postscript): Use #DEFINEs for index into
>       DataDirectory
>
Index: ./include/coff/ChangeLog
===================================================================
RCS file: /cvs/src/src/include/coff/ChangeLog,v
retrieving revision 1.66
diff -r1.66 ChangeLog
0a1,7
> 2006-09-05  Phil Lello  <phil.lello@homecall.co.uk>
>       * pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and
>       IMAGE_SUBSYSTEM_XBOX
>       * internal.h: Added defines for PE directory entry types.
>       NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in
>       pe.h
>

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]