]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r354057 (by brooks):
authorDimitry Andric <dim@FreeBSD.org>
Sat, 25 Apr 2020 15:51:30 +0000 (15:51 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Sat, 25 Apr 2020 15:51:30 +0000 (15:51 +0000)
commit2f2305c4a8542d283c38b7cc6f05e9b3c76d6bfb
treea526497908cb446601734e801fa93eceee44a542
parent644bcf24d0d7b3edcd454dc0dd76d271276f5f8b
MFC r354057 (by brooks):

binutils: Fix bugs found by -Wpointer-compare

The MIPS bug was introduced by upstream commit 7403cb630, which failed
to account for the additional indirection introduced and also dropped
one of the checks; change it to the standard "NULL-or-empty" check as
used elsewhere in BFD, which is also what upstream now has.

Submitted by: James Clarke <jrtc27@jrtc27.com>
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21911
contrib/binutils/bfd/elfxx-mips.c
contrib/binutils/binutils/stabs.c