diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-31 10:42:05 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-31 10:49:23 +1030 |
commit | 5b7c81bd8cc80253a48c7045e4d2c8d2bf178eb9 (patch) | |
tree | d97ac6b8c17baeb684390888df2dd716cc125bb6 /gas/config/tc-score.c | |
parent | f38a2680c2f04db6eac4fd87380cd3cf7bcb3bcc (diff) | |
download | binutils-5b7c81bd8cc80253a48c7045e4d2c8d2bf178eb9.zip binutils-5b7c81bd8cc80253a48c7045e4d2c8d2bf178eb9.tar.gz binutils-5b7c81bd8cc80253a48c7045e4d2c8d2bf178eb9.tar.bz2 |
Use bool in gas
* as.h (POISON_BFD_BOOLEAN): Define.
* as.c, * as.h, * atof-generic.c, * config/atof-ieee.c,
* config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c,
* config/obj-elf.c, * config/obj-elf.h, * config/obj-som.c,
* config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
* config/tc-arc.h, * config/tc-arm.c, * config/tc-arm.h,
* config/tc-avr.c, * config/tc-avr.h, * config/tc-bfin.c,
* config/tc-bfin.h, * config/tc-bpf.c, * config/tc-cris.c,
* config/tc-csky.c, * config/tc-csky.h, * config/tc-d10v.c,
* config/tc-d10v.h, * config/tc-d30v.c, * config/tc-d30v.h,
* config/tc-dlx.c, * config/tc-dlx.h, * config/tc-epiphany.c,
* config/tc-epiphany.h, * config/tc-fr30.c, * config/tc-fr30.h,
* config/tc-frv.c, * config/tc-frv.h, * config/tc-ft32.c,
* config/tc-ft32.h, * config/tc-h8300.c, * config/tc-hppa.c,
* config/tc-i386-intel.c, * config/tc-i386.c, * config/tc-ia64.c,
* config/tc-ip2k.c, * config/tc-iq2000.c, * config/tc-iq2000.h,
* config/tc-lm32.c, * config/tc-lm32.h, * config/tc-m32c.c,
* config/tc-m32c.h, * config/tc-m32r.c, * config/tc-m32r.h,
* config/tc-m68hc11.c, * config/tc-m68k.c, * config/tc-mcore.c,
* config/tc-mcore.h, * config/tc-mep.c, * config/tc-mep.h,
* config/tc-metag.c, * config/tc-metag.h,
* config/tc-microblaze.c, * config/tc-mips.c, * config/tc-mips.h,
* config/tc-mmix.c, * config/tc-mn10200.c, * config/tc-mn10300.c,
* config/tc-mn10300.h, * config/tc-moxie.c, * config/tc-msp430.c,
* config/tc-msp430.h, * config/tc-mt.c, * config/tc-mt.h,
* config/tc-nds32.c, * config/tc-nds32.h, * config/tc-nios2.c,
* config/tc-ns32k.c, * config/tc-or1k.c, * config/tc-or1k.h,
* config/tc-pdp11.c, * config/tc-ppc.c, * config/tc-pru.c,
* config/tc-pru.h, * config/tc-riscv.c, * config/tc-riscv.h,
* config/tc-rx.c, * config/tc-rx.h, * config/tc-s12z.c,
* config/tc-s12z.h, * config/tc-s390.c, * config/tc-score.c,
* config/tc-score.h, * config/tc-score7.c, * config/tc-sh.c,
* config/tc-sh.h, * config/tc-spu.c, * config/tc-tic54x.c,
* config/tc-tic6x.c, * config/tc-tic6x.h, * config/tc-tilegx.c,
* config/tc-tilepro.c, * config/tc-v850.c, * config/tc-v850.h,
* config/tc-visium.c, * config/tc-visium.h, * config/tc-wasm32.c,
* config/tc-wasm32.h, * config/tc-xc16x.c, * config/tc-xgate.c,
* config/tc-xstormy16.c, * config/tc-xstormy16.h,
* config/tc-xtensa.c, * config/tc-xtensa.h, * config/tc-z80.c,
* config/tc-z8k.c, * config/xtensa-istack.h,
* config/xtensa-relax.c, * config/xtensa-relax.h, * dw2gencfi.c,
* dwarf2dbg.c, * dwarf2dbg.h, * expr.c, * expr.h, * frags.c,
* frags.h, * listing.c, * macro.c, * output-file.c, * read.c,
* read.h, * stabs.c, * symbols.c, * write.c: Replace bfd_boolean
with bool, FALSE with false, and TRUE with true.
Diffstat (limited to 'gas/config/tc-score.c')
-rw-r--r-- | gas/config/tc-score.c | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/gas/config/tc-score.c b/gas/config/tc-score.c index 9e1798d..7252e7a 100644 --- a/gas/config/tc-score.c +++ b/gas/config/tc-score.c @@ -65,7 +65,7 @@ static const char *s3_atof (int type, char *litP, int *sizeP); static void s3_frag_check (fragS * fragp ATTRIBUTE_UNUSED); static void s3_validate_fix (fixS *fixP); static int s3_force_relocation (struct fix *fixp); -static bfd_boolean s3_fix_adjustable (fixS * fixP); +static bool s3_fix_adjustable (fixS * fixP); static void s3_elf_final_processing (void); static int s3_estimate_size_before_relax (fragS * fragp, asection * sec ATTRIBUTE_UNUSED); static int s3_relax_frag (asection * sec ATTRIBUTE_UNUSED, fragS * fragp, long stretch ATTRIBUTE_UNUSED); @@ -2544,7 +2544,7 @@ static void s3_gen_insn_frag (struct s3_score_it *part_1, struct s3_score_it *part_2) { char *p; - bfd_boolean pce_p = FALSE; + bool pce_p = false; int relaxable_p = s3_g_opt; int relax_size = 0; struct s3_score_it *inst1 = part_1; @@ -2643,7 +2643,7 @@ s3_gen_insn_frag (struct s3_score_it *part_1, struct s3_score_it *part_2) } static void -s3_parse_16_32_inst (char *insnstr, bfd_boolean gen_frag_p) +s3_parse_16_32_inst (char *insnstr, bool gen_frag_p) { char c; char *p; @@ -2693,7 +2693,7 @@ s3_parse_16_32_inst (char *insnstr, bfd_boolean gen_frag_p) } static void -s3_parse_48_inst (char *insnstr, bfd_boolean gen_frag_p) +s3_parse_48_inst (char *insnstr, bool gen_frag_p) { char c; char *p; @@ -2740,7 +2740,7 @@ s3_parse_48_inst (char *insnstr, bfd_boolean gen_frag_p) } static int -s3_append_insn (char *str, bfd_boolean gen_frag_p) +s3_append_insn (char *str, bool gen_frag_p) { int retval = s3_SUCCESS; @@ -4099,7 +4099,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) For an external symbol: lw rD, <sym>($gp) (BFD_RELOC_SCORE_GOT15 or BFD_RELOC_SCORE_CALL15) */ sprintf (tmp, "lw_pic r%d, %s", reg_rd, S_GET_NAME (add_symbol)); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; if (reg_rd == s3_PIC_CALL_REG) @@ -4113,7 +4113,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) s3_inst.reloc.type = BFD_RELOC_SCORE_GOT15; memcpy (&var_insts[0], &s3_inst, sizeof (struct s3_score_it)); sprintf (tmp, "addi_s_pic r%d, %s", reg_rd, S_GET_NAME (add_symbol)); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&var_insts[1], &s3_inst, sizeof (struct s3_score_it)); @@ -4123,7 +4123,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) { /* Insn 1: lw rD, <sym>($gp) (BFD_RELOC_SCORE_GOT15) */ sprintf (tmp, "lw_pic r%d, %s", reg_rd, S_GET_NAME (add_symbol)); - if (s3_append_insn (tmp, TRUE) == (int) s3_FAIL) + if (s3_append_insn (tmp, true) == (int) s3_FAIL) return; /* Insn 2 */ @@ -4132,7 +4132,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) /* Fix part For an external symbol: addi rD, <constant> */ sprintf (tmp, "addi r%d, %d", reg_rd, (int)add_number); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&fix_insts[0], &s3_inst, sizeof (struct s3_score_it)); @@ -4141,7 +4141,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) For a local symbol: addi rD, <sym>+<constant> (BFD_RELOC_GOT_LO16) */ sprintf (tmp, "addi_s_pic r%d, %s + %d", reg_rd, S_GET_NAME (add_symbol), (int) add_number); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&var_insts[0], &s3_inst, sizeof (struct s3_score_it)); @@ -4154,7 +4154,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) /* Insn 1: lw rD, <sym>($gp) (BFD_RELOC_SCORE_GOT15) */ sprintf (tmp, "lw_pic r%d, %s", reg_rd, S_GET_NAME (add_symbol)); - if (s3_append_insn (tmp, TRUE) == (int) s3_FAIL) + if (s3_append_insn (tmp, true) == (int) s3_FAIL) return; /* Insn 2 */ @@ -4163,7 +4163,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) /* Fix part For an external symbol: ldis r1, HI%<constant> */ sprintf (tmp, "ldis r1, %d", hi); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&fix_insts[0], &s3_inst, sizeof (struct s3_score_it)); @@ -4176,7 +4176,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) hi += 1; } sprintf (tmp, "ldis_pic r1, %d", hi); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&var_insts[0], &s3_inst, sizeof (struct s3_score_it)); @@ -4188,7 +4188,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) /* Fix part For an external symbol: ori r1, LO%<constant> */ sprintf (tmp, "ori r1, %d", lo); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&fix_insts[0], &s3_inst, sizeof (struct s3_score_it)); @@ -4196,7 +4196,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) /* Var part For a local symbol: addi r1, <sym>+LO%<constant> (BFD_RELOC_GOT_LO16) */ sprintf (tmp, "addi_u_pic r1, %s + %d", S_GET_NAME (add_symbol), lo); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&var_insts[0], &s3_inst, sizeof (struct s3_score_it)); @@ -4204,7 +4204,7 @@ s3_build_la_pic (int reg_rd, expressionS exp) /* Insn 4: add rD, rD, r1 */ sprintf (tmp, "add r%d, r%d, r1", reg_rd, reg_rd); - if (s3_append_insn (tmp, TRUE) == (int) s3_FAIL) + if (s3_append_insn (tmp, true) == (int) s3_FAIL) return; /* Set bwarn as -1, so macro instruction itself will not be generated frag. */ @@ -4270,11 +4270,11 @@ s3_do_macro_la_rdi32 (char *str) if ((s3_score_pic == s3_NO_PIC) || (!s3_inst.reloc.exp.X_add_symbol)) { sprintf (append_str, "ld_i32hi r%d, %s", reg_rd, keep_data); - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) return; sprintf (append_str, "ld_i32lo r%d, %s", reg_rd, keep_data); - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) return; } else @@ -4352,12 +4352,12 @@ s3_do_macro_li_rdi32 (char *str) { sprintf (append_str, "ld_i32hi r%d, %s", reg_rd, keep_data); - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) return; else { sprintf (append_str, "ld_i32lo r%d, %s", reg_rd, keep_data); - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) return; /* Set bwarn as -1, so macro instruction itself will not be generated frag. */ @@ -4435,11 +4435,11 @@ s3_do_macro_mul_rdrsrs (char *str) } /* Output mul/mulu or div/divu or rem/remu. */ - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) return; /* Output mfcel or mfceh. */ - if (s3_append_insn (append_str1, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str1, true) == (int) s3_FAIL) return; /* Set bwarn as -1, so macro instruction itself will not be generated frag. */ @@ -4474,7 +4474,7 @@ s3_exp_macro_ldst_abs (char *str) backupstr = tmp; sprintf (append_str, "li r1 %s", backupstr); - s3_append_insn (append_str, TRUE); + s3_append_insn (append_str, true); memcpy (&s3_inst, &inst_backup, sizeof (struct s3_score_it)); sprintf (append_str, " r%d, [r1,0]", reg_rd); @@ -4537,14 +4537,14 @@ s3_do_macro_bcmp (char *str) if (s3_score_pic == s3_NO_PIC) { sprintf (append_str, "cmp! r%d, r%d", reg_a, reg_b); - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) goto out; if ((inst_main.instruction & 0x3e00007e) == 0x0000004c) memcpy (append_str, "beq ", 4); else memcpy (append_str, "bne ", 4); memmove (append_str + 4, keep_data, strlen (keep_data) + 1); - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) goto out; } else @@ -4569,7 +4569,7 @@ s3_do_macro_bcmp (char *str) if (s3_score_pic == s3_NO_PIC) { sprintf (append_str, "cmp! r%d, r%d", reg_a, reg_b); - if (s3_append_insn (append_str, FALSE) == (int) s3_FAIL) + if (s3_append_insn (append_str, false) == (int) s3_FAIL) goto out; memcpy (&inst_expand[0], &s3_inst, sizeof (struct s3_score_it)); @@ -4578,7 +4578,7 @@ s3_do_macro_bcmp (char *str) else memcpy (append_str, "bne ", 4); memmove (append_str + 4, keep_data, strlen (keep_data) + 1); - if (s3_append_insn (append_str, FALSE) == (int) s3_FAIL) + if (s3_append_insn (append_str, false) == (int) s3_FAIL) goto out; memcpy (&inst_expand[1], &s3_inst, sizeof (struct s3_score_it)); } @@ -4687,14 +4687,14 @@ s3_do_macro_bcmpz (char *str) if (s3_score_pic == s3_NO_PIC) { sprintf (append_str, "cmpi! r%d, 0", reg_a); - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) goto out; if ((inst_main.instruction & 0x3e00007e) == 0x0000004c) memcpy (append_str, "beq ", 4); else memcpy (append_str, "bne ", 4); memmove (append_str + 4, keep_data, strlen (keep_data) + 1); - if (s3_append_insn (append_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (append_str, true) == (int) s3_FAIL) goto out; } else @@ -4719,7 +4719,7 @@ s3_do_macro_bcmpz (char *str) if (s3_score_pic == s3_NO_PIC) { sprintf (append_str, "cmpi! r%d, 0", reg_a); - if (s3_append_insn (append_str, FALSE) == (int) s3_FAIL) + if (s3_append_insn (append_str, false) == (int) s3_FAIL) goto out; memcpy (&inst_expand[0], &s3_inst, sizeof (struct s3_score_it)); if ((inst_main.instruction & 0x3e00007e) == 0x0000004c) @@ -4727,7 +4727,7 @@ s3_do_macro_bcmpz (char *str) else memcpy (append_str, "bne ", 4); memmove (append_str + 4, keep_data, strlen (keep_data) + 1); - if (s3_append_insn (append_str, FALSE) == (int) s3_FAIL) + if (s3_append_insn (append_str, false) == (int) s3_FAIL) goto out; memcpy (&inst_expand[1], &s3_inst, sizeof (struct s3_score_it)); } @@ -4868,7 +4868,7 @@ s3_build_lwst_pic (int reg_rd, expressionS exp, const char *insn_name) For an external symbol: lw rD, <sym>($gp) (BFD_RELOC_SCORE_GOT15) */ sprintf (tmp, "lw_pic r1, %s", S_GET_NAME (add_symbol)); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&fix_insts[0], &s3_inst, sizeof (struct s3_score_it)); @@ -4880,7 +4880,7 @@ s3_build_lwst_pic (int reg_rd, expressionS exp, const char *insn_name) s3_inst.reloc.type = BFD_RELOC_SCORE_GOT15; memcpy (&var_insts[0], &s3_inst, sizeof (struct s3_score_it)); sprintf (tmp, "addi_s_pic r1, %s", S_GET_NAME (add_symbol)); - if (s3_append_insn (tmp, FALSE) == (int) s3_FAIL) + if (s3_append_insn (tmp, false) == (int) s3_FAIL) return; memcpy (&var_insts[1], &s3_inst, sizeof (struct s3_score_it)); @@ -4888,7 +4888,7 @@ s3_build_lwst_pic (int reg_rd, expressionS exp, const char *insn_name) /* Insn 2 or Insn 3: lw/st rD, [r1, constant] */ sprintf (tmp, "%s r%d, [r1, %d]", insn_name, reg_rd, add_number); - if (s3_append_insn (tmp, TRUE) == (int) s3_FAIL) + if (s3_append_insn (tmp, true) == (int) s3_FAIL) return; /* Set bwarn as -1, so macro instruction itself will not be generated frag. */ @@ -5032,7 +5032,7 @@ s3_do_macro_ldst_label (char *str) ld/st rd, [r1, 0] */ for (i = 0; i < 3; i++) { - if (s3_append_insn (append_str[i], FALSE) == (int) s3_FAIL) + if (s3_append_insn (append_str[i], false) == (int) s3_FAIL) return; memcpy (&inst_expand[i], &s3_inst, sizeof (struct s3_score_it)); @@ -5282,11 +5282,11 @@ s3_do16_branch (char *str) } /* Return true if the given symbol should be considered local for s3_PIC. */ -static bfd_boolean +static bool s3_pic_need_relax (symbolS *sym, asection *segtype) { asection *symsec; - bfd_boolean linkonce; + bool linkonce; /* Handle the case of a symbol equated to another symbol. */ while (symbol_equated_reloc_p (sym)) @@ -5304,18 +5304,18 @@ s3_pic_need_relax (symbolS *sym, asection *segtype) symsec = S_GET_SEGMENT (sym); /* duplicate the test for LINK_ONCE sections as in adjust_reloc_syms */ - linkonce = FALSE; + linkonce = false; if (symsec != segtype && ! S_IS_LOCAL (sym)) { if ((bfd_section_flags (symsec) & SEC_LINK_ONCE) != 0) - linkonce = TRUE; + linkonce = true; /* The GNU toolchain uses an extension for ELF: a section beginning with the magic string .gnu.linkonce is a linkonce section. */ if (strncmp (segment_name (symsec), ".gnu.linkonce", sizeof ".gnu.linkonce" - 1) == 0) - linkonce = TRUE; + linkonce = true; } /* This must duplicate the test in adjust_reloc_syms. */ @@ -5351,13 +5351,13 @@ s3_parse_pce_inst (char *insnstr) p += 2; sprintf (second, "%s", p); - s3_parse_16_32_inst (first, FALSE); + s3_parse_16_32_inst (first, false); if (s3_inst.error) return; memcpy (&pec_part_1, &s3_inst, sizeof (s3_inst)); - s3_parse_16_32_inst (second, FALSE); + s3_parse_16_32_inst (second, false); if (s3_inst.error) return; @@ -5933,15 +5933,15 @@ s3_s_score_cpload (int ignore ATTRIBUTE_UNUSED) demand_empty_rest_of_line (); sprintf (insn_str, "ld_i32hi r%d, %s", s3_GP, GP_DISP_LABEL); - if (s3_append_insn (insn_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (insn_str, true) == (int) s3_FAIL) return; sprintf (insn_str, "ld_i32lo r%d, %s", s3_GP, GP_DISP_LABEL); - if (s3_append_insn (insn_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (insn_str, true) == (int) s3_FAIL) return; sprintf (insn_str, "add r%d, r%d, r%d", s3_GP, s3_GP, reg); - if (s3_append_insn (insn_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (insn_str, true) == (int) s3_FAIL) return; } @@ -5973,7 +5973,7 @@ s3_s_score_cprestore (int ignore ATTRIBUTE_UNUSED) if (cprestore_offset <= 0x3fff) { sprintf (insn_str, "sw r%d, [r%d, %d]", s3_GP, reg, cprestore_offset); - if (s3_append_insn (insn_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (insn_str, true) == (int) s3_FAIL) return; } else @@ -5984,15 +5984,15 @@ s3_s_score_cprestore (int ignore ATTRIBUTE_UNUSED) s3_nor1 = 0; sprintf (insn_str, "li r1, %d", cprestore_offset); - if (s3_append_insn (insn_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (insn_str, true) == (int) s3_FAIL) return; sprintf (insn_str, "add r1, r1, r%d", reg); - if (s3_append_insn (insn_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (insn_str, true) == (int) s3_FAIL) return; sprintf (insn_str, "sw r%d, [r1]", s3_GP); - if (s3_append_insn (insn_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (insn_str, true) == (int) s3_FAIL) return; s3_nor1 = r1_bak; @@ -6023,7 +6023,7 @@ s3_s_score_gpword (int ignore ATTRIBUTE_UNUSED) } p = frag_more (4); s3_md_number_to_chars (p, (valueT) 0, 4); - fix_new_exp (frag_now, p - frag_now->fr_literal, 4, &ex, FALSE, BFD_RELOC_GPREL32); + fix_new_exp (frag_now, p - frag_now->fr_literal, 4, &ex, false, BFD_RELOC_GPREL32); demand_empty_rest_of_line (); } @@ -6050,7 +6050,7 @@ s3_s_score_cpadd (int ignore ATTRIBUTE_UNUSED) /* Add $gp to the register named as an argument. */ sprintf (insn_str, "add r%d, r%d, r%d", reg, reg, s3_GP); - if (s3_append_insn (insn_str, TRUE) == (int) s3_FAIL) + if (s3_append_insn (insn_str, true) == (int) s3_FAIL) return; } @@ -6474,9 +6474,9 @@ s3_assemble (char *str) if (s3_INSN_IS_PCE_P (str)) s3_parse_pce_inst (str); else if (s3_INSN_IS_48_P (str)) - s3_parse_48_inst (str, TRUE); + s3_parse_48_inst (str, true); else - s3_parse_16_32_inst (str, TRUE); + s3_parse_16_32_inst (str, true); if (s3_inst.error) as_bad (_("%s -- `%s'"), s3_inst.error, s3_inst.str); @@ -6723,7 +6723,7 @@ s3_force_relocation (struct fix *fixp) return retval; } -static bfd_boolean +static bool s3_fix_adjustable (fixS * fixP) { if (fixP->fx_addsy == NULL) @@ -7552,7 +7552,7 @@ score_force_relocation (struct fix *fixp) /* Implementation of md_frag_check. Called after md_convert_frag(). */ -bfd_boolean +bool score_fix_adjustable (fixS * fixP) { if (score3) |