gas int vs bfd_boolean fixes
authorAlan Modra <amodra@gmail.com>
Sun, 28 Mar 2021 23:19:35 +0000 (09:49 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 29 Mar 2021 00:52:21 +0000 (11:22 +1030)
commit854f1e4be9172c835d1b89973d29ce66f9e65479
treeb34cad1198458e35cd9e8c748b879aa35cbc0ea6
parent1be305ffcd43050184097a8f41445c85a4b1a411
gas int vs bfd_boolean fixes

* config/tc-arm.c (struct arm_long_option_table <func>): Return
bfd_boolean.
* config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
* config/tc-metag.c (parse_mov_port): Replace unsigned int variable
with bfd_boolean.
(parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
(parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
(parse_dget_set, parse_dalu): Likewise, ensuring assignment from
logical expressions.
(struct metag_long_option <func>): Return bfd_boolean.
(metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
* config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
* config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
(no_operands, lex_force_match, lex_reg_list): Likewise.
(size_from_suffix): Return int.
(s12z_relax_frag, md_estimate_size_before_relax): Return 0.
* config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
gas/ChangeLog
gas/config/tc-arm.c
gas/config/tc-arm.h
gas/config/tc-metag.c
gas/config/tc-msp430.c
gas/config/tc-s12z.c
gas/config/tc-s12z.h