On 17 Apr 2021 10:58, Jim Wilson wrote: > - cpu->a0 = sim_syscall (cpu, cpu->a7, cpu->a0, cpu->a1, cpu->a2, cpu->a3); > + if (cb_target_to_host_syscall (STATE_CALLBACK (sd), cpu->a7) == -1) > ... > + case TARGET_SYS_link: why not implement this in common/syscall.c so all ports can benefit ? -mike