Mercurial > hg-old > index.cgi
diff lwasm/insn_gen.c @ 220:2b254f02b252
Fixed off by one relocation offset for direct page external references
author | lost |
---|---|
date | Sat, 09 May 2009 16:21:54 +0000 |
parents | bae1e3ecdce1 |
children | 7803d2d09993 |
line wrap: on
line diff
--- a/lwasm/insn_gen.c Sat Apr 25 04:13:52 2009 +0000 +++ b/lwasm/insn_gen.c Sat May 09 16:21:54 2009 +0000 @@ -102,9 +102,9 @@ lwasm_emitop(as, l, instab[opnum].ops[0]); if (extra != -1) lwasm_emit(as, l, extra); - lwasm_emit(as, l, v1 & 0xff); l -> relocoff = as -> addr - l -> codeaddr; l -> reloc8bit = 1; + lwasm_emit(as, l, v1 & 0xff); return; } else