OSDN Git Service

linux-user: Handle arches with llseek instead of _llseek
authorJames Hogan <james.hogan@imgtec.com>
Tue, 25 Mar 2014 21:51:08 +0000 (21:51 +0000)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 2 May 2014 18:59:28 +0000 (21:59 +0300)
commita29e5ba21f3dc01cd7f12aac9216e06e7bdd0e9e
treecffcaa6d3aaa27bfeeb9b1e7a37782b457ce8e82
parent4bc2975698773afdca2f79ebcff9f3b588f646fc
linux-user: Handle arches with llseek instead of _llseek

Recently merged kernel ports (such as OpenRISC and Meta) have an llseek
system call instead of _llseek. This is handled for the host
architecture by defining __NR__llseek as __NR_llseek, but not for the
target architecture.

Handle it in the same way for these architectures, defining
TARGET_NR__llseek as TARGET_NR_llseek.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Jia Liu <proljc@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c