From 10d6a2b1a0e5feff19c165d0a8b7eb47d971c656 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 30 May 2023 15:43:24 +0100 Subject: 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'binutils/ChangeLog') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8831631..7578292 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,16 @@ 2023-05-30 Nick Clifton + * 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. + +2023-05-30 Nick Clifton + * od-pe.c (decode_machine_number): Add ARMMAGIC value of 0xa00. (is_pe_object_magic): Likewise. -- cgit v1.1