diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/sigcontextinfo.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/sigcontextinfo.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h b/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h index 315281ff7f..b8e79c2c4c 100644 --- a/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h +++ b/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2016 Free Software Foundation, Inc. +/* Copyright (C) 1999-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell <philb@gnu.org>, 1999. @@ -18,22 +18,13 @@ #include <sys/ucontext.h> -#define SIGCONTEXT siginfo_t *_si, struct ucontext * -#define SIGCONTEXT_EXTRA_ARGS _si, +#define SIGCONTEXT siginfo_t *_si, ucontext_t * /* The sigcontext structure changed between 2.0 and 2.1 kernels. On any modern system we should be able to assume that the "new" format will be in use. */ #define GET_PC(ctx) ((void *) (ctx)->uc_mcontext.arm_pc) -#define GET_FRAME(ctx) ADVANCE_STACK_FRAME ((void *) ctx->uc_mcontext.arm_fp) -#define GET_STACK(ctx) ((void *) (ctx)->uc_mcontext.arm_sp) - -#define ADVANCE_STACK_FRAME(frm) \ - ((struct layout *)frm - 1) - -#define CALL_SIGHANDLER(handler, signo, ctx) \ - (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx)) /* There is no reliable way to get the sigcontext unless we use a three-argument signal handler. */ |