]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/expr.c
crx: ubsan: cannot be represented
authorAlan Modra <amodra@gmail.com>
Sun, 30 Aug 2020 23:37:03 +0000 (09:07 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 31 Aug 2020 10:58:09 +0000 (20:28 +0930)
commit880fc278cadb4c057bc85ef27b199cac12f8c095
tree0875024ec19c0956599bcd83eea0cbe687653121
parentc1f138f9557a14678f6f988975cba441f56e6137
crx: ubsan: cannot be represented

* config/tc-crx.c: Formatting.
(CRX_PRINT): Wrap params in parentheses.  Remove parens from uses
throughout file.
(reset_vars, get_register, get_copregister, get_optype, get_opbits),
(get_opflags, get_number_of_operands, parse_operand, gettrap),
(handle_LoadStor, getconstant, check_range, getreg_image),
(parse_operands, parse_insn, print_operand, print_constant),
(exponent2scale, mask_reg, process_label_constant, set_operand),
(assemble_insn, print_insn): Delete unnecessary forward declaration.
(print_insn): Make static.
(print_constant): Make "constant" unsigned.
(assemble_insn): Tidy REVERSE_MATCH index calc.
* expr.c (generic_bignum_to_int32): Cast elements to valueT.
gas/ChangeLog
gas/config/tc-crx.c
gas/expr.c