diff options
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3ca5ad9..c902049 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,9 @@ 2008-07-28 Alan Modra <amodra@bigpond.net.au> + * readelf.c (print_vma): Typo fix. + +2008-07-28 Alan Modra <amodra@bigpond.net.au> + PR 6769 * readelf.c (print_dec_vma, print_hex_vma): Delete. (print_vma): Use BFD_VMA_FMT. diff --git a/binutils/readelf.c b/binutils/readelf.c index 236816d..5f3946e 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -387,7 +387,7 @@ print_vma (bfd_vma vma, print_mode mode) case LONG_HEX: #ifdef BFD64 if (is_32bit_elf) - return nc + printf ("%08.8" BFD_VMA_FMT "x", vma); + return nc + printf ("%8.8" BFD_VMA_FMT "x", vma); #endif printf_vma (vma); return nc + 16; |