summaryrefslogtreecommitdiff
path: root/gas/config/tc-bfin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-bfin.c')
-rw-r--r--gas/config/tc-bfin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c
index c3b8aefc87c..271709edf4c 100644
--- a/gas/config/tc-bfin.c
+++ b/gas/config/tc-bfin.c
@@ -903,8 +903,6 @@ bfin_start_line_hook ()
/* Special extra functions that help bfin-parse.y perform its job. */
-#include <assert.h>
-
struct obstack mempool;
INSTR_T
@@ -933,7 +931,7 @@ INSTR_T
note_reloc (INSTR_T code, Expr_Node * symbol, int reloc, int pcrel)
{
/* Assert that the symbol is not an operator. */
- assert (symbol->type == Expr_Node_Reloc);
+ gas_assert (symbol->type == Expr_Node_Reloc);
return note_reloc1 (code, symbol->value.s_value, reloc, pcrel);