mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: fix darwin/arm64 build
Fixes #13916. Change-Id: If2cad5473a749460909519ac20aca19dea8a2e7a Reviewed-on: https://go-review.googlesource.com/18671 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
383d817e02
commit
c5a2f364d3
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ func (c *sigctxt) set_sp(x uint64) { c.regs().sp = x }
|
|||
func (c *sigctxt) set_lr(x uint64) { c.regs().lr = x }
|
||||
func (c *sigctxt) set_r28(x uint64) { c.regs().x[28] = x }
|
||||
|
||||
func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
|
||||
func (c *sigctxt) set_sigaddr(x uint64) {
|
||||
c.info.si_addr = (*byte)(unsafe.Pointer(uintptr(x)))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue