This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

readelf 64-bit e_entry fix


Applied.

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

Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.121
diff -u -p -r1.121 readelf.c
--- readelf.c	2001/09/19 05:33:16	1.121
+++ readelf.c	2001/09/25 12:44:17
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]