• 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
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...