readelf group errors/warnings

Message ID
State New
Headers show
  • readelf group errors/warnings
Related show

Commit Message

Alan Modra May 27, 2019, 4:57 a.m.
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.

Alan Modra
Australia Development Lab, IBM


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,