diff options
author | Xianmiao Qu <xianmiao_qu@c-sky.com> | 2018-11-16 01:26:04 +0000 |
---|---|---|
committer | Xianmiao Qu <xianmiao@gcc.gnu.org> | 2018-11-16 01:26:04 +0000 |
commit | ff641ae11288626fb367dd7e56ddcc363c34d02a (patch) | |
tree | c54311b3239b938add062cbb40aa2ad004c8d9d0 | |
parent | 88c8c5a08c715368e4d33e518a0a3ea6d50f42ea (diff) | |
download | gcc-ff641ae11288626fb367dd7e56ddcc363c34d02a.zip gcc-ff641ae11288626fb367dd7e56ddcc363c34d02a.tar.gz gcc-ff641ae11288626fb367dd7e56ddcc363c34d02a.tar.bz2 |
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
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/csky/linux-unwind.h | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 1fde53b..7ccf11f 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,11 @@ 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. 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com> diff --git a/libgcc/config/csky/linux-unwind.h b/libgcc/config/csky/linux-unwind.h index 80f17f4..497edaf 100644 --- a/libgcc/config/csky/linux-unwind.h +++ b/libgcc/config/csky/linux-unwind.h @@ -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 |