mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
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
|
||||||
+++ 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…
Add table
Reference in a new issue