* as.h (know): Don't define as empty.

* config/tc-arm.c (make_mapping_symbol): Revert last patch.
This commit is contained in:
Alan Modra 2009-10-18 13:33:20 +00:00
parent a75b90823c
commit c5ed243be1
3 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2009-10-18 Alan Modra <amodra@bigpond.net.au>
* as.h (know): Don't define as empty.
* config/tc-arm.c (make_mapping_symbol): Revert last patch.
2009-10-18 Matthias Klose <doko@ubuntu.com>
* config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body

View File

@ -238,7 +238,7 @@ typedef addressT valueT;
#define know(p) gas_assert(p) /* Verify our assumptions! */
#endif /* not yet defined */
#else
#define know(p) /* know() checks are no-op.ed */
#define know(p) do {} while (0) /* know() checks are no-op.ed */
#endif
/* input_scrub.c */

View File

@ -2489,9 +2489,7 @@ make_mapping_symbol (enum mstate state, valueT value, fragS *frag)
frag->tc_frag_data.first_map = symbolP;
}
if (frag->tc_frag_data.last_map != NULL)
{
know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));
}
know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));
frag->tc_frag_data.last_map = symbolP;
}