From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0ctr-0004PV-4y for qemu-devel@nongnu.org; Tue, 07 Jan 2014 15:05:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0ctp-0003cU-PO for qemu-devel@nongnu.org; Tue, 07 Jan 2014 15:05:19 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:44525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0ctp-0003aw-Fh for qemu-devel@nongnu.org; Tue, 07 Jan 2014 15:05:17 -0500 From: Peter Maydell Date: Tue, 7 Jan 2014 20:03:18 +0000 Message-Id: <1389125052-22931-23-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1389125052-22931-1-git-send-email-peter.maydell@linaro.org> References: <1389125052-22931-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PULL 22/76] linux-user: AArch64: define TARGET_CLONE_BACKWARDS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Blue Swirl , qemu-devel@nongnu.org, Aurelien Jarno 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 Reviewed-by: Richard Henderson --- 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