Re: [Qemu-devel] [PATCH 2/6] linux-user: Provide safe_syscall for i386

2016-06-14 Thread Richard Henderson
On 06/14/2016 04:58 AM, Peter Maydell wrote: >> +greg_t *pcreg = &uc->uc_mcontext.gregs[REG_EIP]; > > user-exec.c has > #ifndef REG_EIP > /* for glibc 2.1 */ > #define REG_EIPEIP > #endif > > Do we still care about glibc 2.1 ? (Probably not, 2.2 was > released fifteen years ago now...) >

Re: [Qemu-devel] [PATCH 2/6] linux-user: Provide safe_syscall for i386

2016-06-14 Thread Peter Maydell
On 13 June 2016 at 22:45, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > linux-user/host/i386/hostdep.h | 34 ++ > linux-user/host/i386/safe-syscall.inc.S | 110 > > 2 files changed, 144 insertions(+) > create mode 100644

[Qemu-devel] [PATCH 2/6] linux-user: Provide safe_syscall for i386

2016-06-13 Thread Richard Henderson
Signed-off-by: Richard Henderson --- linux-user/host/i386/hostdep.h | 34 ++ linux-user/host/i386/safe-syscall.inc.S | 110 2 files changed, 144 insertions(+) create mode 100644 linux-user/host/i386/hostdep.h create mode 100644 linux-user/host/