* readelf.c (print_vma): Print 8 digits of low hex value.

This commit is contained in:
Alan Modra 2001-09-25 12:49:38 +00:00
parent 97735a42e7
commit 2f11c26109
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-09-25 Alan Modra <amodra@bigpond.net.au>
* readelf.c (print_vma): Print 8 digits of low hex value.
2001-09-24 Andreas Jaeger <aj@suse.de> 2001-09-24 Andreas Jaeger <aj@suse.de>
* nlmconv.c: Fix warnings about unused attributes and function * nlmconv.c: Fix warnings about unused attributes and function

View File

@ -473,7 +473,7 @@ print_vma (vma, mode)
printf ("%lx", vma); printf ("%lx", vma);
#else #else
if (_bfd_int64_high (vma)) if (_bfd_int64_high (vma))
printf ("%lx%lx", _bfd_int64_high (vma), _bfd_int64_low (vma)); printf ("%lx%8.8lx", _bfd_int64_high (vma), _bfd_int64_low (vma));
else else
printf ("%lx", _bfd_int64_low (vma)); printf ("%lx", _bfd_int64_low (vma));
#endif #endif