• Russ Cox's avatar
    cmd/link: fix nosplit stack overflow checks · 767e0658
    Russ Cox authored
    The nosplit stack overflow checks were confused about morestack.
    The comment about not having correct SP information at the call
    to morestack was true, but that was a real bug, not something to
    work around. I fixed that problem in CL 12144. With that fixed,
    no need to special-case morestack in the way done here.
    
    This cleanup and simplification of the code was the first step
    to fixing a bug that happened when I started working on the
    arm64 frame size adjustments, but the cleanup was sufficient
    to make the bug go away.
    
    For #9880.
    
    Change-Id: I16b69a5c16b6b8cb4090295d3029c42d606e3b9b
    Reviewed-on: https://go-review.googlesource.com/12846Reviewed-by: 's avatarAustin Clements <austin@google.com>
    767e0658
Name
Last commit
Last update
..
internal Loading commit data...
doc.go Loading commit data...
main.go Loading commit data...