strace: fix 32-bit arm build.
This commit is contained in:
parent
125540e86a
commit
ac53d741bd
@ -1,11 +1,13 @@
|
|||||||
--- sigreturn.c
|
--- sigreturn.c
|
||||||
+++ sigreturn.c
|
+++ sigreturn.c
|
||||||
@@ -12,6 +12,8 @@
|
@@ -12,6 +12,10 @@
|
||||||
#elif NSIG < 32
|
#elif NSIG < 32
|
||||||
# error NSIG < 32
|
# error NSIG < 32
|
||||||
#endif
|
#endif
|
||||||
|
+#ifdef __arch64__
|
||||||
+extern uint64_t *const aarch64_sp_ptr;
|
+extern uint64_t *const aarch64_sp_ptr;
|
||||||
+extern uint32_t *const arm_sp_ptr;
|
+extern uint32_t *const arm_sp_ptr;
|
||||||
|
+#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
sys_sigreturn(struct tcb *tcp)
|
sys_sigreturn(struct tcb *tcp)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user