From: Andreas Schwab Date: Fri, 11 Nov 2011 20:50:38 +0000 (+0000) Subject: * binutils/readelf.c (process_program_headers): Fix typo printing p_memsz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f48e6c458d257404bf650e3bbc57b35a702db3fa;p=binutils-gdb.git * binutils/readelf.c (process_program_headers): Fix typo printing p_memsz field. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7e80c30cd8b..93a0bc7e272 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2011-11-11 Andreas Schwab + + * readelf.c (process_program_headers): Fix typo printing p_memsz + field. + 2011-11-01 DJ Delorie * readelf.c: Include elf/rl78.h diff --git a/binutils/readelf.c b/binutils/readelf.c index ad7112ebab8..d1b9893322d 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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 ",