More 1 << 31 signed overflows
authorAlan Modra <amodra@gmail.com>
Tue, 10 Mar 2020 11:22:50 +0000 (21:52 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 10 Mar 2020 11:26:42 +0000 (21:56 +1030)
commita6a1f5e050c3d4444b8074ba9ba02f547b725892
tree148949871d0afd71346130e2e8cbb7dc60024dde
parente10ac147c80240c2d0aa0a2ae2ec7f6a934c198f
More 1 << 31 signed overflows

* config/tc-csky.c (get_operand_value): Rewrite 1 << 31 expressions
to avoid signed overflow.
* config/tc-mcore.c (md_assemble): Likewise.
* config/tc-mips.c (gpr_read_mask, gpr_write_mask): Likewise.
* config/tc-nds32.c (SET_ADDEND): Likewise.
* config/tc-nios2.c (nios2_assemble_arg_R): Likewise.
gas/ChangeLog
gas/config/tc-csky.c
gas/config/tc-mcore.c
gas/config/tc-mips.c
gas/config/tc-nds32.c
gas/config/tc-nios2.c