diff options
| author | Riku Voipio | 2013-07-24 08:44:26 +0200 |
|---|---|---|
| committer | Riku Voipio | 2013-09-24 09:47:07 +0200 |
| commit | 89aaf1a6ad91c4cb3224fcca461d71dac9fa3fa6 (patch) | |
| tree | 56a1b96294cef2b7a8757757b038995f9f9927ae /linux-user/strace.list | |
| parent | linux-user: Check type of microMIPS break instruction (diff) | |
| download | qemu-89aaf1a6ad91c4cb3224fcca461d71dac9fa3fa6.tar.gz qemu-89aaf1a6ad91c4cb3224fcca461d71dac9fa3fa6.tar.xz qemu-89aaf1a6ad91c4cb3224fcca461d71dac9fa3fa6.zip | |
[v2] linux-user: implement m68k atomic syscalls
With nptl enabled, atomic_cmpxchg_32 and atomic_barrier
system calls are needed. This patch enabled really dummy
versions of the system calls, modeled after the m68k
kernel code.
With this patch I am able to execute m68k binaries
with qemu linux-user (busybox compiled for coldfire).
[v2] que an segfault instead of returning a EFAULT
to keep in line with kernel code.
Cc: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/strace.list')
| -rw-r--r-- | linux-user/strace.list | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/strace.list b/linux-user/strace.list index 4f9c364664..cf5841af60 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1521,3 +1521,9 @@ #ifdef TARGET_NR_pipe2 { TARGET_NR_pipe2, "pipe2", NULL, NULL, NULL }, #endif +#ifdef TARGET_NR_atomic_cmpxchg_32 +{ TARGET_NR_atomic_cmpxchg_32, "atomic_cmpxchg_32", NULL, NULL, NULL }, +#endif +#ifdef TARGET_NR_atomic_barrier +{ TARGET_NR_atomic_barrier, "atomic_barrier", NULL, NULL, NULL }, +#endif |
