blob: 304b717331ef4bfb031bc73a084170bbf9b8347d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- gcc-8.3.0/libgo/runtime/go-signal.c.old 2017-08-18 20:17:26.000000000 +0000
+++ gcc-8.3.0/libgo/runtime/go-signal.c 2019-02-27 20:25:02.560000000 +0000
@@ -222,7 +222,7 @@
#endif
#ifdef __PPC__
#ifdef __linux__
- ret.sigpc = ((ucontext_t*)(context))->uc_mcontext.regs->nip;
+ ret.sigpc = ((ucontext_t*)(context))->uc_mcontext.gp_regs[32];
#endif
#ifdef _AIX
ret.sigpc = ((ucontext_t*)(context))->uc_mcontext.jmp_context.iar;
|