strace: fix 32-bit arm build.
This commit is contained in:
parent
125540e86a
commit
ac53d741bd
1 changed files with 3 additions and 1 deletions
|
@ -1,11 +1,13 @@
|
|||
--- sigreturn.c
|
||||
+++ sigreturn.c
|
||||
@@ -12,6 +12,8 @@
|
||||
@@ -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)
|
||||
|
|
Loading…
Reference in a new issue