Commit 776b5185 authored by Russ Cox's avatar Russ Cox

runtime/cgo: fix crosscall2 on arm

This time for sure.

R=golang-dev
CC=golang-dev
https://golang.org/cl/7449045
parent 779c45a5
......@@ -16,7 +16,8 @@ TEXT crosscall2(SB),7,$-4
* nevertheless.
*/
MOVM.WP [R0, R1, R2, R4, R5, R6, R7, R8, R9, R10, R11, R12, R14], (R13)
BL x_cgo_load_gm(SB)
MOVW _cgo_load_gm(SB), R0
BL (R0)
MOVW PC, R14
MOVW -4(R13), PC
MOVM.IAW (R13), [R0, R1, R2, R4, R5, R6, R7, R8, R9, R10, R11, R12, PC]
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