]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/runtime/asm_arm.s
[dev.garbage] all: merge default (f38460037b72) into dev.garbage
[gostls13.git] / src / runtime / asm_arm.s
index 9a58fdc51e25a1d4e9853c6d0a47f68fd6933cd1..58aebf3884e74baee3c44f309233309ca859b894 100644 (file)
@@ -1320,3 +1320,9 @@ TEXT _cgo_topofstack(SB),NOSPLIT,$8
        MOVW    saveG-8(SP), g
        MOVW    saveR11-4(SP), R11
        RET
+
+// The top-most function running on a goroutine
+// returns to goexit+PCQuantum.
+TEXT runtime·goexit(SB),NOSPLIT,$-4-0
+       MOVW    R0, R0  // NOP
+       BL      runtime·goexit1(SB)    // does not return