aboutsummaryrefslogtreecommitdiff
path: root/binutils
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
parent97735a42e734bf25da3ae7e0a0068a91699cf186 (diff)
downloadfsf-binutils-gdb-2f11c261092ff8a912ac7471b8087c3fdda35b0c.zip
fsf-binutils-gdb-2f11c261092ff8a912ac7471b8087c3fdda35b0c.tar.gz
fsf-binutils-gdb-2f11c261092ff8a912ac7471b8087c3fdda35b0c.tar.bz2
* readelf.c (print_vma): Print 8 digits of low hex value.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1176579..2651e31 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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>
* nlmconv.c: Fix warnings about unused attributes and function
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