Fix a bogus error message from the DWARF LEB129 decoder when trying to read a signed...
authorNick Clifton <nickc@redhat.com>
Fri, 28 Aug 2020 15:04:49 +0000 (16:04 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 28 Aug 2020 15:04:49 +0000 (16:04 +0100)
commit08d7da7dc9e130cbaf072c2588e1b392c2d7503e
tree874e50e069bc1884bcd310c039f58a1f76131775
parenta1e60a1bdce8f555f45b5f94c059d83abf883567
Fix a bogus error message from the DWARF LEB129 decoder when trying to read a signed LEB128 value containing the largest possible signed negative integer value.

PR 26548
* dwarf.c (read_leb128): When checking for overflow of a signed
read, use a signed shift.
binutils/ChangeLog
binutils/dwarf.c