Lines Matching +full:user +full:- +full:defined
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4 Subject: [PATCH] user-exec: fix usage of mcontext structure on ARM/uClibc
6 user-exec.c has some conditional code to decide how to use the
15 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 ---
17 accel/tcg/user-exec.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c
22 --- a/accel/tcg/user-exec.c
23 +++ b/accel/tcg/user-exec.c
24 @@ -540,7 +540,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
26 #if defined(__NetBSD__)
27 pc = uc->uc_mcontext.__gregs[_REG_R15];
28 -#elif defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3))
29 +#elif defined(__GLIBC__) && !defined(__UCLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_M…
30 pc = uc->uc_mcontext.gregs[R15];
32 pc = uc->uc_mcontext.arm_pc;
33 --