Fix objcopy --merge-notes dependency on qsort implementation behavior.
authorRoland McGrath <mcgrathr@google.com>
Mon, 27 Jan 2020 19:14:33 +0000 (11:14 -0800)
committerRoland McGrath <mcgrathr@google.com>
Mon, 27 Jan 2020 19:14:33 +0000 (11:14 -0800)
commit82ef9cad78b74ee9176e059e8c8dec1bdb4a1efe
tree1174e6bc10beac34313cc94070c8b62d958a7060
parent086b06f3c9daa4eee3c1ddd547af32553d1187d6
Fix objcopy --merge-notes dependency on qsort implementation behavior.

binutils/
* objcopy.c (compare_gnu_build_notes): Fix comparison results
for overlapping ranges so that (A == B) == (B == A) holds.
binutils/ChangeLog
binutils/objcopy.c