aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-06-25 16:56:16 +0930
committerAlan Modra <amodra@gmail.com>2019-06-25 16:57:15 +0930
commitde62696504f96816faf2165132d907924e904649 (patch)
tree4d11060c944b6966bc3f1cc103bb4c51e515dd23 /gas/config/tc-ppc.c
parent22f72c4868a1fd55d8d9b1cbabe6e01ed5a6f072 (diff)
downloadgdb-de62696504f96816faf2165132d907924e904649.zip
gdb-de62696504f96816faf2165132d907924e904649.tar.gz
gdb-de62696504f96816faf2165132d907924e904649.tar.bz2
Fix logical expression in last commit
* config/tc-ppc.c (ppc_handle_align): Add parentheses.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index de0f8da..5f8d120 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;