From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id E828E3851524; Thu, 27 Oct 2022 13:53:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E828E3851524 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666878801; bh=x7yNaf4P1P3sezg+3Z50roQlle1yrLY9260TN9j6PGI=; h=From:To:Subject:Date:From; b=WZkcuxUhm2aa8E2Tbsx23w8/L6p83W3Y7OzKThwhXzxTBZcEYzpDjdTpJ66NUF7X5 VAdzfq/v/lAIRLBRay+/9axmV4CZGINwgZLntnrmJF4GN5Gi3soUCuufWZi4Wy9Gmj EoYqv+Nxkvl71gwfahftcYUme+jotaxBAHjaEbao= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] aarch64: morello: fix vfork X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: da5efab4bff77727f76e035778acc60338d54c34 X-Git-Newrev: 4f619e7f07e4fc57182f9163dab896e7a59be831 Message-Id: <20221027135321.E828E3851524@sourceware.org> Date: Thu, 27 Oct 2022 13:53:17 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4f619e7f07e4fc57182f9163dab896e7a59be831 commit 4f619e7f07e4fc57182f9163dab896e7a59be831 Author: Szabolcs Nagy Date: Tue Jul 12 11:13:57 2022 +0100 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. Diff: --- sysdeps/unix/sysv/linux/aarch64/vfork.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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