diff options
author | Nick Clifton <nickc@redhat.com> | 2021-05-13 14:33:39 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-05-13 14:33:39 +0100 |
commit | 0522d0165adaa6fccb4d4ff706d0e0b2996e4b80 (patch) | |
tree | e97a9c872e1275a5269a47b1774ef65292db806b /binutils | |
parent | c4375dd764b2e28b585048c55014d4d8fbe2e820 (diff) | |
download | fsf-binutils-gdb-0522d0165adaa6fccb4d4ff706d0e0b2996e4b80.zip fsf-binutils-gdb-0522d0165adaa6fccb4d4ff706d0e0b2996e4b80.tar.gz fsf-binutils-gdb-0522d0165adaa6fccb4d4ff706d0e0b2996e4b80.tar.bz2 |
revert previous delta
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/dwarf.c | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 42efebf..85d21eb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 20ffe4b..2794a15 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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++) |