fix Dwarf2 build with certain gcc versions
authorJan Beulich <jbeulich@suse.com>
Mon, 7 Jun 2021 06:37:42 +0000 (08:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 7 Jun 2021 06:48:26 +0000 (08:48 +0200)
commit6bee34a1dc94dcfbf84b6318a731e6b059b39977
treea7c9b95437b8a88d1a68da4b0139c3f65330a269
parent53f18dfd3e790c6320db7496252921dbd26a086b
fix Dwarf2 build with certain gcc versions

Older gcc reports:

.../bfd/dwarf2.c: In function 'read_ranges':
.../bfd/dwarf2.c:3107: error: comparison between signed and unsigned
.../bfd/dwarf2.c: In function 'read_rnglists':
.../bfd/dwarf2.c:3189: error: comparison between signed and unsigned

Similarly for binutils/dwarf.c. Arrange for the left sides of the > to
also be unsigned quantities.
bfd/ChangeLog
bfd/dwarf2.c
binutils/ChangeLog
binutils/dwarf.c