From: Alan Modra Date: Tue, 25 Jun 2019 07:26:16 +0000 (+0930) Subject: Fix logical expression in last commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de62696504f96816faf2165132d907924e904649;p=binutils-gdb.git Fix logical expression in last commit * config/tc-ppc.c (ppc_handle_align): Add parentheses. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 1e2962763fa..c7dc37d937d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2019-06-25 Alan Modra + + * config/tc-ppc.c (ppc_handle_align): Add parentheses. + 2019-06-25 Alan Modra * config/tc-ppc.h (ppc_nop_select): Declare. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index de0f8da9484..5f8d120d486 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -7122,7 +7122,7 @@ ppc_handle_align (struct frag *fragP) with nops but odd counts indicate data in an executable section so padding with zeros is most appropriate. */ if (count == 0 - || nop_select == PPC_NOP_VLE ? (count & 1) != 0 : (count & 3) != 0) + || (nop_select == PPC_NOP_VLE ? (count & 1) != 0 : (count & 3) != 0)) { *dest = 0; return;