revert previous delta

This commit is contained in:
Nick Clifton 2021-05-13 14:33:39 +01:00
parent c4375dd764
commit 0522d0165a
2 changed files with 0 additions and 13 deletions

View file

@ -1,9 +1,3 @@
2021-05-13 Nick Clifton <nickc@redhat.com>
PR 27861
* dwarf.c (display_debug_str_offsets): Warn if the length field is
larger than the amount of data remaining in the section.
2021-05-13 Alan Modra <amodra@gmail.com>
PR 27861

View file

@ -7509,13 +7509,6 @@ display_debug_str_offsets (struct dwarf_section *section,
printf (_(" Length: %#lx\n"), (unsigned long) length);
printf (_(" Version: %#lx\n"), (unsigned long) version);
printf (_(" Index Offset [String]\n"));
if (entries_end > end)
{
warn (_("Length value (0x%s) > data remaining in the section (0x%lx)\n"),
dwarf_vmatoa ("x", length), (long)(end - curr));
entries_end = end;
}
}
for (idx = 0; curr < entries_end; idx++)