diff options
Diffstat (limited to 'sysdeps/aarch64/sysdep.h')
| -rw-r--r-- | sysdeps/aarch64/sysdep.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h index 5b30709436..a790e3b4ea 100644 --- a/sysdeps/aarch64/sysdep.h +++ b/sysdeps/aarch64/sysdep.h @@ -151,6 +151,15 @@ movk PTR_REG (R), #:abs_g0_nc:NAME; #endif +/* 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) \ + b JUMPTARGET(dest) + /* Since C identifiers are not normally prefixed with an underscore on this system, the asm identifier `syscall_error' intrudes on the C name space. Make sure we use an innocuous name. */ |
