diff options
author | Alan Modra <amodra@gmail.com> | 2008-07-28 04:14:40 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-07-28 04:14:40 +0000 |
commit | 437c2fb7a12caa380086560b3929b0a6d7b51764 (patch) | |
tree | 16468615316de024560162cf83985fa3b950db64 | |
parent | 14a9197011818108c904f8c8eb5fbba48f3cfd7d (diff) | |
download | gdb-437c2fb7a12caa380086560b3929b0a6d7b51764.zip gdb-437c2fb7a12caa380086560b3929b0a6d7b51764.tar.gz gdb-437c2fb7a12caa380086560b3929b0a6d7b51764.tar.bz2 |
* readelf.c (print_vma): Typo fix.
-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; |