Merge branch 'master' into v2.1

This commit is contained in:
Mike Pall
2018-01-29 13:19:30 +01:00
10 changed files with 39 additions and 7 deletions

View File

@@ -354,6 +354,7 @@ int dasm_encode(Dst_DECL, void *buffer)
break;
case DASM_REL_LG:
CK(n >= 0, UNDEF_LG);
/* fallthrough */
case DASM_REL_PC:
CK(n >= 0, UNDEF_PC);
n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base);