diff options
author | Nick Clifton <nickc@redhat.com> | 2009-06-22 17:56:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-06-22 17:56:02 +0000 |
commit | 9c2799c243988c1a6d3fe93c7c2c06599672068d (patch) | |
tree | 68afc552886047c3623e058f7f5eb90e8595bc53 /gas/symbols.c | |
parent | 6e3f70d70b1c88fb344b31ec6d3021b97d58302e (diff) | |
download | gdb-9c2799c243988c1a6d3fe93c7c2c06599672068d.zip gdb-9c2799c243988c1a6d3fe93c7c2c06599672068d.tar.gz gdb-9c2799c243988c1a6d3fe93c7c2c06599672068d.tar.bz2 |
* gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
gas/config/atof-ieee.c, gas/config/obj-aout.c,
gas/config/obj-coff.c, gas/config/obj-ecoff.c,
gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
gas/config/tc-s390.c, gas/config/tc-score.c,
gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
gas macro `assert' to `gas_assert'.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r-- | gas/symbols.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gas/symbols.c b/gas/symbols.c index 3959ee2..761cebf 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -217,7 +217,7 @@ local_symbol_convert (struct local_symbol *locsym) { symbolS *ret; - assert (locsym->lsy_marker == NULL); + gas_assert (locsym->lsy_marker == NULL); if (local_symbol_converted_p (locsym)) return local_symbol_get_real_symbol (locsym); @@ -879,11 +879,11 @@ verify_symbol_chain (symbolS *rootP, symbolS *lastP) for (; symbol_next (symbolP) != NULL; symbolP = symbol_next (symbolP)) { - assert (symbolP->bsym != NULL); - assert (symbolP->sy_next->sy_previous == symbolP); + gas_assert (symbolP->bsym != NULL); + gas_assert (symbolP->sy_next->sy_previous == symbolP); } - assert (lastP == symbolP); + gas_assert (lastP == symbolP); } #ifdef OBJ_COMPLEX_RELC @@ -1144,13 +1144,13 @@ resolve_symbol_value (symbolS *symp) do_symbol: if (S_IS_WEAKREFR (symp)) { - assert (final_val == 0); + gas_assert (final_val == 0); if (S_IS_WEAKREFR (add_symbol)) { - assert (add_symbol->sy_value.X_op == O_symbol + gas_assert (add_symbol->sy_value.X_op == O_symbol && add_symbol->sy_value.X_add_number == 0); add_symbol = add_symbol->sy_value.X_add_symbol; - assert (! S_IS_WEAKREFR (add_symbol)); + gas_assert (! S_IS_WEAKREFR (add_symbol)); symp->sy_value.X_add_symbol = add_symbol; } } @@ -2986,7 +2986,7 @@ symbol_relc_make_sym (symbolS * sym) char typetag; int sname_len; - assert (sym != NULL); + gas_assert (sym != NULL); /* Recurse to symbol_relc_make_expr if this symbol is defined as an expression or a plain value. */ @@ -3051,7 +3051,7 @@ symbol_relc_make_expr (expressionS * exp) operands[0] = operands[1] = operands[2] = NULL; - assert (exp != NULL); + gas_assert (exp != NULL); /* Match known operators -> fill in opstr, arity, operands[] and fall through to construct subexpression fragments; may instead return @@ -3164,7 +3164,7 @@ symbol_relc_make_expr (expressionS * exp) + (arity >= 2 ? (strlen (operands[1]) + 1 ) : 0) + (arity >= 3 ? (strlen (operands[2]) + 0 ) : 0) + 1); - assert (concat_string != NULL); + gas_assert (concat_string != NULL); /* Format the thing. */ sprintf (concat_string, |