* elf.c (_bfd_elf_print_private_bfd_data): Use bfd_fprintf_vma to

print the values from the dynamic section.
This commit is contained in:
Adam Nemet 2008-03-21 16:22:51 +00:00
parent 17faa917e0
commit a1f3c56ef7
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-03-21 Adam Nemet <anemet@caviumnetworks.com>
* elf.c (_bfd_elf_print_private_bfd_data): Use bfd_fprintf_vma to
print the values from the dynamic section.
2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
* elfxx-mips.c (MIPS_ELF_GNU_GOT1_MASK): New macro.

View File

@ -1293,7 +1293,10 @@ _bfd_elf_print_private_bfd_data (bfd *abfd, void *farg)
fprintf (f, " %-20s ", name);
if (! stringp)
fprintf (f, "0x%lx", (unsigned long) dyn.d_un.d_val);
{
fprintf (f, "0x");
bfd_fprintf_vma (abfd, f, dyn.d_un.d_val);
}
else
{
const char *string;