diff options
Diffstat (limited to 'gas/config/tc-score7.c')
-rw-r--r-- | gas/config/tc-score7.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-score7.c b/gas/config/tc-score7.c index b282b1d..30b1128 100644 --- a/gas/config/tc-score7.c +++ b/gas/config/tc-score7.c @@ -4382,7 +4382,7 @@ s7_do_macro_la_rdi32 (char *str) } else { - assert (s7_inst.reloc.exp.X_add_symbol); + gas_assert (s7_inst.reloc.exp.X_add_symbol); s7_build_la_pic (reg_rd, s7_inst.reloc.exp); } @@ -5676,7 +5676,7 @@ s7_s_score_end (int x ATTRIBUTE_UNUSED) } if (p != NULL) { - assert (S_GET_NAME (p)); + gas_assert (S_GET_NAME (p)); if (strcmp (S_GET_NAME (p), S_GET_NAME (s7_cur_proc_ptr->isym))) as_warn (_(".end symbol does not match .ent symbol.")); if (debug_type == DEBUG_STABS) @@ -5694,7 +5694,7 @@ s7_s_score_end (int x ATTRIBUTE_UNUSED) else { dot = frag_now_fix (); - assert (s7_pdr_seg); + gas_assert (s7_pdr_seg); subseg_set (s7_pdr_seg, 0); /* Write the symbol. */ exp.X_op = O_symbol; @@ -6658,7 +6658,7 @@ s7_apply_fix (fixS *fixP, valueT *valP, segT seg) char *buf = fixP->fx_frag->fr_literal + fixP->fx_where; - assert (fixP->fx_r_type < BFD_RELOC_UNUSED); + gas_assert (fixP->fx_r_type < BFD_RELOC_UNUSED); if (fixP->fx_addsy == 0 && !fixP->fx_pcrel) { if (fixP->fx_r_type != BFD_RELOC_SCORE_DUMMY_HI16) @@ -6932,7 +6932,7 @@ s7_gen_reloc (asection * section ATTRIBUTE_UNUSED, fixS * fixp) retval[1]->addend = 0; retval[1]->howto = bfd_reloc_type_lookup (stdoutput, BFD_RELOC_LO16); - assert (retval[1]->howto != NULL); + gas_assert (retval[1]->howto != NULL); fixp->fx_r_type = BFD_RELOC_HI16_S; } |