From: Alan Modra Date: Wed, 30 Apr 2008 02:09:48 +0000 (+0000) Subject: * readelf.c (process_program_headers): Correct section in segment X-Git-Tag: sid-snapshot-20080501~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b391a3e3dc0037b5697a06bb1f2e9d65e004fbed;p=platform%2Fupstream%2Fbinutils.git * readelf.c (process_program_headers): Correct section in segment display. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b3caac3..bba6260 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2008-04-30 Alan Modra + + * readelf.c (process_program_headers): Correct section in segment + display. + 2008-04-28 M Thomas Nick Clifton diff --git a/binutils/readelf.c b/binutils/readelf.c index b2f0d69..4964fa8 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -3682,7 +3682,7 @@ process_program_headers (FILE *file) Elf_Internal_Shdr *section; segment = program_headers + i; - section = section_headers; + section = section_headers + 1; printf (" %2.2d ", i);