Mercurial > hg-old > index.cgi
diff src/insn_bitbit.c @ 101:f59c0916753d
Fixed relative branches and PCR addressing to handle constant intra-section references properly
author | lost |
---|---|
date | Fri, 23 Jan 2009 03:36:27 +0000 |
parents | 8929e1ee99cf |
children |
line wrap: on
line diff
--- a/src/insn_bitbit.c Sat Jan 17 07:35:18 2009 +0000 +++ b/src/insn_bitbit.c Fri Jan 23 03:36:27 2009 +0000 @@ -60,7 +60,7 @@ register_error(as, l, 1, "Bad operand"); return; } - s = lwasm_evaluate_expr(as, l, *p, NULL); + s = lwasm_evaluate_expr(as, l, *p, NULL, 0); if (!s) { register_error(as, l, 1, "Bad operand"); @@ -84,7 +84,7 @@ } r = (r << 6) | (v1 << 3); - s = lwasm_evaluate_expr(as, l, *p, NULL); + s = lwasm_evaluate_expr(as, l, *p, NULL, 0); if (!s) { register_error(as, l, 1, "Bad operand"); @@ -114,7 +114,7 @@ if (**p == '<') (*p)++; - s = lwasm_evaluate_expr(as, l, *p, NULL); + s = lwasm_evaluate_expr(as, l, *p, NULL, 0); if (!s) { register_error(as, l, 1, "Bad operand");