1 /* Misc. operating system stubs. */
7 /* _raise(), getpid(), and kill() are required by abort().
8 getpid/kill are prefixed with '_' because of MISSING_SYSCALL_NAMES. */
25 /* Narrow SIG down to a short, in case we're compiled with -mint32. */
27 /* This causes the simulator to indicate abort() was called.
28 The format of r0 is defined by devo/include/wait.h. */
29 asm ("mov.w %0,r0\n\tsleep" : : "r" (sig2
) : "r0");