void-packages/srcpkgs/strace/patches/aarch64.patch
2015-11-27 19:19:20 +01:00

13 lines
237 B
Diff

--- sigreturn.c
+++ sigreturn.c
@@ -12,6 +12,10 @@
#elif NSIG < 32
# error NSIG < 32
#endif
+#ifdef __arch64__
+extern uint64_t *const aarch64_sp_ptr;
+extern uint32_t *const arm_sp_ptr;
+#endif
int
sys_sigreturn(struct tcb *tcp)