This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Fwd: RFA:] Print mips-specific dynamic tags with objdump -p
- From: Thiemo Seufer <ths at networkno dot de>
- To: Catherine Moore <clm at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 26 Feb 2008 11:46:45 +0000
- Subject: Re: [Fwd: RFA:] Print mips-specific dynamic tags with objdump -p
- References: <47C36454.2090007@codesourcery.com>
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