Update to go1.25.0

This commit is contained in:
Vorapol Rinsatitnon
2025-08-13 21:50:03 +07:00
parent 4fdddd398d
commit c7759f4edb
2303 changed files with 161699 additions and 70952 deletions

View File

@@ -163,7 +163,7 @@ data:
BLT ret
MOVD runtime·racedataend(SB), R10
CMP R10, R1
BGT ret
BGE ret
call:
JMP racecall<>(SB)
ret:
@@ -463,9 +463,16 @@ TEXT racecall<>(SB), NOSPLIT|NOFRAME, $0-0
// Switch to g0 stack.
MOVD RSP, R19 // callee-saved, preserved across the CALL
MOVD R30, R20 // callee-saved, preserved across the CALL
// Switch to g0 stack if we aren't already on g0 or gsignal.
MOVD m_gsignal(R10), R11
CMP R11, g
BEQ call
MOVD m_g0(R10), R11
CMP R11, g
BEQ call // already on g0
BEQ call
MOVD (g_sched+gobuf_sp)(R11), R12
MOVD R12, RSP
call: