diff options
author | Alan Modra <amodra@gmail.com> | 2008-04-30 02:09:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-04-30 02:09:48 +0000 |
commit | b391a3e3dc0037b5697a06bb1f2e9d65e004fbed (patch) | |
tree | dcd909ca23dc510ffcb049c99d6fd450ebfe83c8 /binutils/readelf.c | |
parent | 7113306b6058b021538002e793996cf542c3fa3a (diff) | |
download | gdb-b391a3e3dc0037b5697a06bb1f2e9d65e004fbed.zip gdb-b391a3e3dc0037b5697a06bb1f2e9d65e004fbed.tar.gz gdb-b391a3e3dc0037b5697a06bb1f2e9d65e004fbed.tar.bz2 |
* readelf.c (process_program_headers): Correct section in segment
display.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |