+2021-06-24 Mike Frysinger <vapier@gentoo.org>
+
+ * sim/callback.h (struct host_callback_struct): Add arg5, arg6, and
+ arg7.
+
2021-06-23 Mike Frysinger <vapier@gentoo.org>
* sim/callback.h (struct host_callback_struct): Add kill.
/* The target's value of what system call to perform. */
int func;
/* The arguments to the syscall. */
- long arg1, arg2, arg3, arg4;
+ long arg1, arg2, arg3, arg4, arg5, arg6, arg7;
/* The result. */
long result;
+2021-06-24 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (bfin_syscall): Set sc.arg5 & sc.arg6.
+
2021-06-22 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
sc.arg2 = args[1] = DREG (1);
sc.arg3 = args[2] = DREG (2);
sc.arg4 = args[3] = DREG (3);
- /*sc.arg5 =*/ args[4] = DREG (4);
- /*sc.arg6 =*/ args[5] = DREG (5);
+ sc.arg5 = args[4] = DREG (4);
+ sc.arg6 = args[5] = DREG (5);
}
else
{
sc.arg2 = args[1] = GET_LONG (DREG (0) + 4);
sc.arg3 = args[2] = GET_LONG (DREG (0) + 8);
sc.arg4 = args[3] = GET_LONG (DREG (0) + 12);
- /*sc.arg5 =*/ args[4] = GET_LONG (DREG (0) + 16);
- /*sc.arg6 =*/ args[5] = GET_LONG (DREG (0) + 20);
+ sc.arg5 = args[4] = GET_LONG (DREG (0) + 16);
+ sc.arg6 = args[5] = GET_LONG (DREG (0) + 20);
}
sc.p1 = (PTR) sd;
sc.p2 = (PTR) cpu;
+2021-06-24 Mike Frysinger <vapier@gentoo.org>
+
+ * traps-linux.c (m32r_trap): Set s.arg4, s.arg5, s.arg6, and s.arg7.
+
2021-06-22 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
s.arg1 = arg1;
s.arg2 = arg2;
s.arg3 = arg3;
+ s.arg4 = arg4;
+ s.arg5 = arg5;
+ s.arg6 = arg6;
+ s.arg7 = arg7;
s.p1 = (PTR) sd;
s.p2 = (PTR) current_cpu;