* binutils/readelf.c (process_program_headers): Fix typo printing p_memsz
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 11 Nov 2011 20:50:38 +0000 (20:50 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Fri, 11 Nov 2011 20:50:38 +0000 (20:50 +0000)
field.

binutils/ChangeLog
binutils/readelf.c

index 7e80c30cd8b89e84f2ea78f9f4340477204a3bda..93a0bc7e272b41002536b59780471ad4246e73b8 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-11  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * readelf.c (process_program_headers): Fix typo printing p_memsz
+       field.
+
 2011-11-01  DJ Delorie  <dj@redhat.com>
 
        * readelf.c: Include elf/rl78.h
index ad7112ebab8e8eaf54dbdd113671a461bd9e5c7f..d1b9893322d5ac8e48fbbde51503a0dfc3581d52 100644 (file)
@@ -3809,7 +3809,7 @@ process_program_headers (FILE * file)
                printf ("0x%6.6lx", (unsigned long) segment->p_memsz);
              else
                {
-                 print_vma (segment->p_offset, FULL_HEX);
+                 print_vma (segment->p_memsz, FULL_HEX);
                }
 
              printf (" %c%c%c ",