diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv/sysdep.h')
| -rw-r--r-- | sysdeps/unix/sysv/linux/riscv/sysdep.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/sysdep.h b/sysdeps/unix/sysv/linux/riscv/sysdep.h index 5470ea3d2a..0a2c2f8696 100644 --- a/sysdeps/unix/sysv/linux/riscv/sysdep.h +++ b/sysdeps/unix/sysv/linux/riscv/sysdep.h @@ -107,6 +107,15 @@ # undef ret_ERRVAL # define ret_ERRVAL ret +/* Make a "sibling call" to DEST -- that is, transfer control to DEST + as-if it had been the function called by the caller of this function. + DEST is likely to be defined in a different shared object. Only + ever used immediately after ENTRY. Must not touch the stack at + all, and must preserve all argument and call-saved registers. */ +#undef SIBCALL +#define SIBCALL(dest) \ + tail JUMPTARGET(dest) + #endif /* __ASSEMBLER__ */ /* In order to get __set_errno() definition in INLINE_SYSCALL. */ |
