]> Cypherpunks repositories - gostls13.git/commit
runtime: correct sigfwd on openbsd/mips64
authorJoel Sing <joel@sing.id.au>
Mon, 7 Dec 2020 17:21:33 +0000 (04:21 +1100)
committerJoel Sing <joel@sing.id.au>
Tue, 8 Dec 2020 01:46:45 +0000 (01:46 +0000)
commit9c91cab0da9814a598f2c4f7568b6276ff972672
tree4191d04c7a903ab44fcde09a18688053b8fccb4b
parent6362d01c152071751bd594bdf10c301514fc2d4e
runtime: correct sigfwd on openbsd/mips64

Position independent code expects that R25 (aka $t9) contains the address of the
called function. As such, use R25 when calling from sigfwd.

Change-Id: I66b2b9bfa1f1bb983c7385eb2eaa19d9cd87d9fb
Reviewed-on: https://go-review.googlesource.com/c/go/+/275893
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/sys_openbsd_mips64.s