commit | 10d6a2b1a0e5feff19c165d0a8b7eb47d971c656 | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Tue May 30 15:43:24 2023 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Tue May 30 15:43:24 2023 +0100 |
tree | e3f6dff53a62333ddb832d54fce8f00fec603c73 | |
parent | 2bd766d6245bf9db77c42da3537c949ffb814bfc [diff] |
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.