Fix logical expression in last commit
* config/tc-ppc.c (ppc_handle_align): Add parentheses.
This commit is contained in:
parent
22f72c4868
commit
de62696504
|
@ -1,3 +1,7 @@
|
|||
2019-06-25 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/tc-ppc.c (ppc_handle_align): Add parentheses.
|
||||
|
||||
2019-06-25 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/tc-ppc.h (ppc_nop_select): Declare.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue