[patch]: dump of PE+ x64 pdata section

Dave Korn dave.korn.cygwin@googlemail.com
Mon Apr 6 16:04:00 GMT 2009


H.J. Lu wrote:

>>>
>>  Shouldn't _bfd_pep_print_x64_pdata be renamed to
>>
>> bfd_boolean _bfd_pex64_print_pdata (bfd *, void *);
>>
>>
> 
> Or this function should be moved to coff-x86-64.c.

  I think the naming is reasonble.  PE+ is an object file format; x86_64 may
be currently the only CPU that uses it, but it's conceivable there might be
non-x64 pdata sections in some future non-x64 architecture that uses the same
format.

  Moving it might well be a good idea though.  The ARM one,
_bfd_XX_print_ce_compressed_pdata probably doesn't really belong there either.

    cheers,
      DaveK



More information about the Binutils mailing list