This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: RFA:] Print mips-specific dynamic tags with objdump -p


Catherine Moore wrote:
> This patch improves the mips objdump -p output for mips by displaying the 
> mips-specific dynamic tag instead of it's numerical equivalent.
>
> For example, print this:
> MIPS_SYMTABNO        0x13
>
> Instead of:
>   0x70000011  0x13
>
> Okay to install?
> Catherine
>
> bfd/ChangeLog
>
> 	* elf.c ( _bfd_elf_print_private_bfd_data): Call
> 	elf_backend_get_target_dtag if defined.
> 	* elf32-mips.c (elf_backend_get_target_dtag): Define.
> 	* elf64-mips.c: Likewise.
> 	* elfn32-mips.c: Likewise.
> 	* elfxx-mips.c (_bfd_mips_elf_get_target_dtag): New.
> 	* elfxx-mips.h (_bfd_mips_elf_get_target_dtag): Declare.
> 	* elf-bfd.h (elf_backend_get_target_dtag): Add prototype.
> 	* elfxx-target.h (elf_backend_get_target_dtag): Add default.
> 	(elf_backend_data): Add elf_backend_get_target_dtag.

The MIPS-specific part is ok. I can't approve the changes in generic
code.


Thiemo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]