linux-user: AArch64: define TARGET_CLONE_BACKWARDS
authorClaudio Fontana <claudio.fontana@linaro.org>
Sat, 4 Jan 2014 22:15:47 +0000 (22:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jan 2014 19:07:20 +0000 (19:07 +0000)
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 <claudio.fontana@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
linux-user/aarch64/syscall.h

index aef419efeb68dc97f3d7e87f04b32d86aacc7f57..18f44a8a40b36de0760a06fad4c7c34e07eaa1d3 100644 (file)
@@ -7,3 +7,4 @@ struct target_pt_regs {
 
 #define UNAME_MACHINE "aarch64"
 #define UNAME_MINIMUM_RELEASE "3.8.0"
+#define TARGET_CLONE_BACKWARDS