This series fixes several problems with sparc and
allows to debootstrap a chroot using qemu-sparc32plus and
debian sparc/wheezy.
For the moment, networking doesn't work.
v2:
- Add a patch to fix UNAME_MACHINE
- move sparc errno definitions to linux-user/sparc/target_errno.h
- add common switch macro to convert flock l_type to/from target
to/from host
- return -TARGET_EINVAL is l_type cannot be converted
Laurent Vivier (6):
linux-user: define correct fcntl() values for sparc
linux-user: fix flock/flock64 padding
linux-user: update sparc/syscall_nr.h to linux header 4.16
linux-user: fix conversion of flock/flock64 l_type field
linux-user: add sparc/sparc64 specific errno
linux-user: fix UNAME_MACHINE for sparc/sparc64
linux-user/sparc/syscall_nr.h | 32 +++++-
linux-user/sparc/target_errno.h | 207 ++++++++++++++++++++++++++++++++++++
linux-user/sparc/target_syscall.h | 4 +-
linux-user/sparc64/syscall_nr.h | 20 ++--
linux-user/sparc64/target_syscall.h | 5 +-
linux-user/syscall.c | 66 ++++++++----
linux-user/syscall_defs.h | 25 ++++-
7 files changed, 326 insertions(+), 33 deletions(-)
create mode 100644 linux-user/sparc/target_errno.h
--
2.14.3