diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-07-12 11:13:57 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-11-22 14:31:25 +0000 |
commit | ea326198813c50667203d3eb09478cfa232ea167 (patch) | |
tree | 3ceaf2aba6ce9a28b0a3e956632347c2666380d9 | |
parent | 6642c4177961ad087feafd17d766f2570e25d676 (diff) | |
download | glibc-ea326198813c50667203d3eb09478cfa232ea167.tar.gz glibc-ea326198813c50667203d3eb09478cfa232ea167.tar.xz glibc-ea326198813c50667203d3eb09478cfa232ea167.zip |
aarch64: morello: fix vfork
No need to set the child stack to sp, 0 means the parent stack is used. This avoids purecap specific ifdefs in vfork.
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/vfork.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/vfork.S b/sysdeps/unix/sysv/linux/aarch64/vfork.S index 76103db922..81b67d06fc 100644 --- a/sysdeps/unix/sysv/linux/aarch64/vfork.S +++ b/sysdeps/unix/sysv/linux/aarch64/vfork.S @@ -28,7 +28,7 @@ ENTRY (__vfork) mov x0, #0x4111 /* CLONE_VM | CLONE_VFORK | SIGCHLD */ - mov x1, sp + mov x1, 0 DO_CALL (clone, 2) cmn x0, #4095 |