OSDN Git Service

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)
commit1b69f006bff89e5e4710dd04be85277aab8856bf
tree45448bd6d0f1de2743f11ed9abc02b9f96b13fa9
parentfa2ef212dff8556ea92c4aef54b57efec69ca6fe
linux-user: AArch64: define TARGET_CLONE_BACKWARDS

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