Improve header information displayed with objdump -P for PE binaries.
authorNick Clifton <nickc@redhat.com>
Tue, 30 May 2023 14:43:24 +0000 (15:43 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 30 May 2023 14:43:24 +0000 (15:43 +0100)
commit10d6a2b1a0e5feff19c165d0a8b7eb47d971c656
treee3f6dff53a62333ddb832d54fce8f00fec603c73
parent2bd766d6245bf9db77c42da3537c949ffb814bfc
Improve header information displayed with objdump -P for PE binaries.

  * od-pe.c (targ_info): New array.
  (get_target_specific_info): New function.
  (decode_machine_number): Retire.  Use get_target_specific_info instead.
  (is_pe_object_magic): Likewise.
  (dump_pe_file_header): Display more information.
  Rework layout to be similar to that from 'objdump -p'.
  Add code to handle larger than normnal AOUT headers.
binutils/ChangeLog
binutils/od-pe.c