Commit c5a2f364 authored by Matthew Dempsky's avatar Matthew Dempsky

runtime: fix darwin/arm64 build

Fixes #13916.

Change-Id: If2cad5473a749460909519ac20aca19dea8a2e7a
Reviewed-on: https://go-review.googlesource.com/18671Reviewed-by: default avatarDavid Crawshaw <crawshaw@golang.org>
parent 383d817e
...@@ -55,6 +55,7 @@ func (c *sigctxt) set_sp(x uint64) { c.regs().sp = x } ...@@ -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_lr(x uint64) { c.regs().lr = x }
func (c *sigctxt) set_r28(x uint64) { c.regs().x[28] = 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) { func (c *sigctxt) set_sigaddr(x uint64) {
c.info.si_addr = (*byte)(unsafe.Pointer(uintptr(x))) c.info.si_addr = (*byte)(unsafe.Pointer(uintptr(x)))
} }
......
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