Index: devel/libpru/files/patch-ti__pru.c =================================================================== --- devel/libpru/files/patch-ti__pru.c +++ devel/libpru/files/patch-ti__pru.c @@ -0,0 +1,19 @@ +--- ti-pru.c.orig 2015-08-20 00:27:25.000000000 +0200 ++++ ti-pru.c 2020-06-20 21:41:00.989034000 +0200 +@@ -502,7 +502,7 @@ + case TI_OP_MVI: + ti_reg_str(op3, c_op3, sizeof(c_op3)); + ti_reg_str(op2, c_op2, sizeof(c_op2)); +- memmove(c_op2 + 1, c_op2, sizeof(c_op2)); ++ memmove(c_op2 + 1, c_op2, sizeof(c_op2)-1); + c_op2[0] = '*'; + break; + case TI_OP_JMP: +@@ -516,6 +516,7 @@ + snprintf(c_op1, sizeof(c_op1), "r%d.w0", op1 - 0xc0); + snprintf(c_op3, sizeof(c_op3), "r%d.w0", op3 - 0x80); + } ++ break; + case TI_OP_SLP: + if (op1 == 0x80) + snprintf(c_op1, sizeof(c_op1), "1");