Received: from eggs.gnu.org ([2001:4830:134:3::10]:41167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vurx7-0005Nc-HN for qemu-devel@nongnu.org; Sun, 22 Dec 2013 17:56:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vurx6-0008ED-RS for qemu-devel@nongnu.org; Sun, 22 Dec 2013 17:56:53 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:43859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vurx6-0008CU-IG for qemu-devel@nongnu.org; Sun, 22 Dec 2013 17:56:52 -0500 From: Peter Maydell Date: Sun, 22 Dec 2013 22:50:04 +0000 Message-Id: <1387752607-23755-23-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1387752607-23755-1-git-send-email-peter.maydell@linaro.org> References: <1387752607-23755-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 22/25] linux-user: AArch64: define TARGET_CLONE_BACKWARDS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Crosthwaite , patches@linaro.org, Michael Matz , Alexander Graf , Claudio Fontana , Dirk Mueller , Will Newton , Laurent Desnogues , =?UTF-8?q?Alex=20Benn=C3=A9e?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall , Richard Henderson From: Claudio Fontana The AArch64 linux-user support was written before but merged after commit 4ce6243dc621 which cleaned up the handling of the clone() syscall argument order, so we failed to notice that AArch64 also needs TARGET_CLONE_BACKWARDS to be defined. Add this define so that clone and fork syscalls work correctly. Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell --- linux-user/aarch64/syscall.h | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/aarch64/syscall.h b/linux-user/aarch64/syscall.h index aef419e..18f44a8 100644 --- a/linux-user/aarch64/syscall.h +++ b/linux-user/aarch64/syscall.h @@ -7,3 +7,4 @@ struct target_pt_regs { #define UNAME_MACHINE "aarch64" #define UNAME_MINIMUM_RELEASE "3.8.0" +#define TARGET_CLONE_BACKWARDS -- 1.8.5