Commit c89fc124 authored by Russ Cox's avatar Russ Cox

runtime: fix build for freebsd/arm after reorg

R=golang-dev
CC=golang-dev
https://golang.org/cl/7701046
parent a98bec45
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#define SIG_REGS(ctxt) (((Sigcontext*)&((Ucontext*)(ctxt))->uc_mcontext)) #define SIG_REGS(ctxt) (((Ucontext*)(ctxt))->uc_mcontext)
#define SIG_R0(info, ctxt) (SIG_REGS(ctxt).__gregs[0]) #define SIG_R0(info, ctxt) (SIG_REGS(ctxt).__gregs[0])
#define SIG_R1(info, ctxt) (SIG_REGS(ctxt).__gregs[1]) #define SIG_R1(info, ctxt) (SIG_REGS(ctxt).__gregs[1])
...@@ -25,3 +25,4 @@ ...@@ -25,3 +25,4 @@
#define SIG_TRAP(info, ctxt) (0) #define SIG_TRAP(info, ctxt) (0)
#define SIG_ERROR(info, ctxt) (0) #define SIG_ERROR(info, ctxt) (0)
#define SIG_OLDMASK(info, ctxt) (0) #define SIG_OLDMASK(info, ctxt) (0)
#define SIG_CODE0(info, ctxt) ((uintptr)(info)->si_code)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment