projects
/
b43-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for assemble-time assertions.
[b43-tools.git]
/
assembler
/
main.c
diff --git
a/assembler/main.c
b/assembler/main.c
index ab79f7eaaa74f13f51c32f33f41d3a8504b53983..54252dabe95fe89b762524ced673fd3d4a80fd5c 100644
(file)
--- a/
assembler/main.c
+++ b/
assembler/main.c
@@
-823,8
+823,8
@@
static void assemble_instruction(struct assembler_context *ctx,
/* Search the last insn. */
if (out->type == OUT_INSN) {
if (out->is_jump_insn) {
/* Search the last insn. */
if (out->type == OUT_INSN) {
if (out->is_jump_insn) {
- asm_
error
(ctx, "RET instruction directly after "
-
"jump instruction. The hardware won't like this.");
+ asm_
warn
(ctx, "RET instruction directly after "
+ "jump instruction. The hardware won't like this.");
}
break;
}
}
break;
}