aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2011-11-11 20:50:38 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2011-11-11 20:50:38 +0000
commitf48e6c458d257404bf650e3bbc57b35a702db3fa (patch)
treea97449a86d4540e2309211e000ccd04712581330 /binutils
parent1d93e29a97123560a6b6deed1565181c60fe01ad (diff)
downloadgdb-f48e6c458d257404bf650e3bbc57b35a702db3fa.zip
gdb-f48e6c458d257404bf650e3bbc57b35a702db3fa.tar.gz
gdb-f48e6c458d257404bf650e3bbc57b35a702db3fa.tar.bz2
* binutils/readelf.c (process_program_headers): Fix typo printing p_memsz
field.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 7e80c30..93a0bc7 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/readelf.c b/binutils/readelf.c
index ad7112e..d1b9893 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 ",