strace/linux/riscv/arch_regs.h
Dmitry V. Levin 8ffa3fd109 riscv: export riscv_sp_ptr
Export SP register for later use by get_rt_sigframe_addr.

* linux/riscv/arch_regs.h: New file.
* Makefile.am (EXTRA_DIST): Add it.
* linux/riscv/arch_regs.c (riscv_sp_ptr): New variable.
2017-03-10 20:06:58 +00:00

2 lines
42 B
C

extern unsigned long *const riscv_sp_ptr;