aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-25 12:49:38 +0000
committerAlan Modra <amodra@gmail.com>2001-09-25 12:49:38 +0000
commit2f11c261092ff8a912ac7471b8087c3fdda35b0c (patch)
tree8a731305e9030b8c7d7fe8c3e6a697a99ec384e1 /binutils/readelf.c
parent97735a42e734bf25da3ae7e0a0068a91699cf186 (diff)
downloadgdb-2f11c261092ff8a912ac7471b8087c3fdda35b0c.zip
gdb-2f11c261092ff8a912ac7471b8087c3fdda35b0c.tar.gz
gdb-2f11c261092ff8a912ac7471b8087c3fdda35b0c.tar.bz2
* readelf.c (print_vma): Print 8 digits of low hex value.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index eced501..42160dc 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -473,7 +473,7 @@ print_vma (vma, mode)
printf ("%lx", vma);
#else
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
printf ("%lx", _bfd_int64_low (vma));
#endif