[RFC] Add support for printing pdata for x86_64 pe coff objects
Pierre Muller
pierre.muller@ics-cnrs.unistra.fr
Wed Oct 1 07:31:00 GMT 2014
More information about the Binutils mailing list
Wed Oct 1 07:31:00 GMT 2014
- Previous message (by thread): [gold][aarch64]Patch for Relaxation
- Next message (by thread): [RFC] PR gdb/17445 fix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This patch adds support for display of pdata/xdata pe coff objects. The code already existing inside pei-x86_64.c was only supporting PE images (i.e. executables or dlls). The code has been extended to support pe coff x86_64 objects. It has also been extended to support multiple .pdata sections as produced by -ffunction-sections gcc option. Comments welcome, Pierre Muller Pascal language maintainer for GDB. bfd/ChangeLog entry: 2014-10-01 Pierre Muller <muller@sourceware.org> Add support for pdata output for pe coff objects. * pe-x86_64.c (pex64_bfd_print_pdata): Add external declaration. (bfd_pe_print_data): Set macro to pex64_bfd_print_data. * pei-x86_64.c (pex64_bfd_print_pdata): Changed to global function. Now handles multiple .pdata sections. (pex_bfd_print_pdata_section): New static helper function, using most of old pex_bfd_print_pdata function code, but adding support for coff pe objects, which might have some fields starting at zero offset. (pex64_print_all_pdata_sections) : New static helper function, used in call to bfd_map_over_sections inside new pex66_bfd_print_pdata function. (bfd_boolean pdata_count): New static variable, used to return bfd_boolean value for pex64_bfd_print_pdata function. -------------- next part -------------- A non-text attachment was scrubbed... Name: pdata_pe_x86_64.patch Type: application/octet-stream Size: 8392 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20141001/972d0dc3/attachment.obj>
- Previous message (by thread): [gold][aarch64]Patch for Relaxation
- Next message (by thread): [RFC] PR gdb/17445 fix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list