qemu/linux-user/openrisc
Peter Maydell 442a59c8dd linux-user: Enable NPTL for OpenRISC
The OpenRISC kernel ignores CLONE_SETTLS in its copy_thread()
implementation, so a cpu_set_tls() implementation is a no-op.
cpu_clone_regs() was setting the syscall return value in the
wrong register -- it is gpr[11], not gpr[2]. With these two
things fixed, we can compile with NPTL enabled.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2013-07-22 21:54:12 +03:00
..
syscall.h target-or32: Add linux syscall, signal and termbits 2012-07-27 21:13:05 +00:00
syscall_nr.h target-or32: Add linux syscall, signal and termbits 2012-07-27 21:13:05 +00:00
target_cpu.h linux-user: Enable NPTL for OpenRISC 2013-07-22 21:54:12 +03:00
target_signal.h target-or32: Add linux syscall, signal and termbits 2012-07-27 21:13:05 +00:00
termbits.h target-or32: Add linux syscall, signal and termbits 2012-07-27 21:13:05 +00:00