aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-05-27 10:37:37 +0930
committerAlan Modra <amodra@gmail.com>2019-05-27 13:59:32 +0930
commit61dd8e19a8b43037125d4a767f27e98e9181521b (patch)
tree15ad6eb1ba85ba53b05985152f6bc95611e7c19f /binutils/readelf.c
parentce5aecf87372749a5ec511f218956756aa185d0f (diff)
downloadgdb-61dd8e19a8b43037125d4a767f27e98e9181521b.zip
gdb-61dd8e19a8b43037125d4a767f27e98e9181521b.tar.gz
gdb-61dd8e19a8b43037125d4a767f27e98e9181521b.tar.bz2
readelf group errors/warnings
I noticed that one of the readelf errors stopped processing of further group sections. This patch makes readelf continue on to other groups, like it does with the other errors. * readelf.c (process_section_groups): Continue processing groups when sh_entsize exceeds group size.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 23ffd86..424624e 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -6875,7 +6875,7 @@ process_section_groups (Filedata * filedata)
printable_section_name (filedata, section),
(unsigned long) section->sh_entsize,
(unsigned long) section->sh_size);
- break;
+ continue;
}
start = (unsigned char *) get_data (NULL, filedata, section->sh_offset,