* as.h (know): Don't define as empty.
* config/tc-arm.c (make_mapping_symbol): Revert last patch.
This commit is contained in:
parent
a75b90823c
commit
c5ed243be1
3 changed files with 7 additions and 4 deletions
|
@ -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>
|
2009-10-18 Matthias Klose <doko@ubuntu.com>
|
||||||
|
|
||||||
* config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
|
* config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
|
||||||
|
|
2
gas/as.h
2
gas/as.h
|
@ -238,7 +238,7 @@ typedef addressT valueT;
|
||||||
#define know(p) gas_assert(p) /* Verify our assumptions! */
|
#define know(p) gas_assert(p) /* Verify our assumptions! */
|
||||||
#endif /* not yet defined */
|
#endif /* not yet defined */
|
||||||
#else
|
#else
|
||||||
#define know(p) /* know() checks are no-op.ed */
|
#define know(p) do {} while (0) /* know() checks are no-op.ed */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* input_scrub.c */
|
/* input_scrub.c */
|
||||||
|
|
|
@ -2489,9 +2489,7 @@ make_mapping_symbol (enum mstate state, valueT value, fragS *frag)
|
||||||
frag->tc_frag_data.first_map = symbolP;
|
frag->tc_frag_data.first_map = symbolP;
|
||||||
}
|
}
|
||||||
if (frag->tc_frag_data.last_map != NULL)
|
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;
|
frag->tc_frag_data.last_map = symbolP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue