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...)
>
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
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/