Commit 5b491969 authored by Tommy Thorn's avatar Tommy Thorn
Browse files

gold/Gold_data.hpp: Fix edge condition in `has_partial_overlap()`

If

  c.addr + c.addr.size == addr

then regions where incorrectly considered partially overlapping and
likewise for

  addr + addr.size == c.addr

NB: There's a faster way to check for partial overlap, but we'll keep
the change minimal here.
parent 81c2b255
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment