Tidy commit 49910fd88dcd
authorAlan Modra <amodra@gmail.com>
Sat, 10 Jul 2021 00:37:17 +0000 (10:07 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 10 Jul 2021 03:59:04 +0000 (13:29 +0930)
commitf8dd36465839e5bc60ffc5e894633d430ec55a06
tree7b83525498eabe5124132d2ba590a0b5c7e728e2
parent9039747fb4863c13eaf07f84bb28d50660fb8d85
Tidy commit 49910fd88dcd

Pointer range checking is UB if the values compared are outside the
underlying array elements (plus one).

* dwarf2.c (read_address): Remove accidental commit.
(read_ranges): Compare offset rather than pointers.
bfd/ChangeLog
bfd/dwarf2.c