diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2008-03-21 16:22:51 +0000 |
---|---|---|
committer | Adam Nemet <anemet@caviumnetworks.com> | 2008-03-21 16:22:51 +0000 |
commit | a1f3c56ef7a08724229380e1b9a6c0bac46e19bf (patch) | |
tree | 9a01cf4cabd8945bfb1b026920663170c4375a2d /bfd/elf.c | |
parent | 17faa917e0422c80bd674199ae501cf47f128509 (diff) | |
download | gdb-a1f3c56ef7a08724229380e1b9a6c0bac46e19bf.zip gdb-a1f3c56ef7a08724229380e1b9a6c0bac46e19bf.tar.gz gdb-a1f3c56ef7a08724229380e1b9a6c0bac46e19bf.tar.bz2 |
* elf.c (_bfd_elf_print_private_bfd_data): Use bfd_fprintf_vma to
print the values from the dynamic section.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |