Export SP register for later use by get_rt_sigframe_addr.
* linux/metag/arch_regs.h: New file.
* Makefile.am (EXTRA_DIST): Add it.
* linux/metag/arch_regs.c (metag_sp_ptr): New variable.
linux/m68k/syscallent.h \
linux/m68k/userent.h \
linux/metag/arch_regs.c \
+ linux/metag/arch_regs.h \
linux/metag/get_error.c \
linux/metag/get_scno.c \
linux/metag/get_syscall_args.c \
static struct user_gp_regs metag_regs;
+unsigned long *const metag_sp_ptr = &metag_regs.ax[0][0];
#define ARCH_REGS_FOR_GETREGSET metag_regs
#define ARCH_PC_REG metag_regs.pc
--- /dev/null
+extern unsigned long *const metag_sp_ptr;