diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-29 09:49:35 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-29 11:22:21 +1030 |
commit | 854f1e4be9172c835d1b89973d29ce66f9e65479 (patch) | |
tree | b34cad1198458e35cd9e8c748b879aa35cbc0ea6 /gas/config/tc-s12z.h | |
parent | 1be305ffcd43050184097a8f41445c85a4b1a411 (diff) | |
download | gdb-854f1e4be9172c835d1b89973d29ce66f9e65479.zip gdb-854f1e4be9172c835d1b89973d29ce66f9e65479.tar.gz gdb-854f1e4be9172c835d1b89973d29ce66f9e65479.tar.bz2 |
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.
Diffstat (limited to 'gas/config/tc-s12z.h')
-rw-r--r-- | gas/config/tc-s12z.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-s12z.h b/gas/config/tc-s12z.h index 1e9772a..2a8416e 100644 --- a/gas/config/tc-s12z.h +++ b/gas/config/tc-s12z.h @@ -91,7 +91,7 @@ extern long s12z_relax_frag (segT, fragS*, long); extern int tc_s12z_force_relocation (struct fix *); #define tc_fix_adjustable(X) tc_s12z_fix_adjustable(X) -extern int tc_s12z_fix_adjustable (struct fix *); +extern bfd_boolean tc_s12z_fix_adjustable (struct fix *); #define md_operand(x) |