linux-unwind.h (sc_pt_regs): Update for kernel.

2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>

	libgcc/
	* config/csky/linux-unwind.h (sc_pt_regs): Update for kernel. 
	(sc_pt_regs_lr): Update for kernel.
	(sc_pt_regs_tls): Update for kernel.

From-SVN: r266200
This commit is contained in:
Xianmiao Qu 2018-11-16 01:26:04 +00:00 committed by Xianmiao Qu
parent 88c8c5a08c
commit ff641ae112
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
* config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
(sc_pt_regs_lr): Update for kernel.
(sc_pt_regs_tls): Update for kernel.
2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
* config/csky/linux-unwind.h: Fix coding style.

View File

@ -47,9 +47,9 @@
#define MOVI_R7_139_V2_PART0 0xea07
#define MOVI_R7_139_V2_PART1 139
#define sc_pt_regs(x) (sc->sc_##x)
#define sc_pt_regs_lr (sc->sc_r15)
#define sc_pt_regs_tls(x) (sc->sc_exregs[15])
#define sc_pt_regs(x) (sc->sc_pt_regs.x)
#define sc_pt_regs_lr (sc->sc_pt_regs.lr)
#define sc_pt_regs_tls(x) sc_pt_regs(x)
#define MD_FALLBACK_FRAME_STATE_FOR csky_fallback_frame_state