readelf group errors/warnings
Alan Modra
amodra@gmail.com
Mon May 27 04:57:00 GMT 2019
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.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 23ffd86600..424624e0e4 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,
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list