sort_gnu_build_notes fix

* objcopy.c (sort_gnu_build_notes): Correct sort of deleted
	note2.
This commit is contained in:
Alan Modra 2019-10-26 13:09:44 +10:30
parent 25294a18fd
commit 1cc3da765d
2 changed files with 6 additions and 1 deletions

View file

@ -2067,7 +2067,7 @@ sort_gnu_build_notes (const void * data1, const void * data2)
return -1;
if (is_deleted_note (pnote2)) /* 1: F 2: O D */
return 1;
return -1;
return 1; /* 1: F 2: O */
}