Descriptioncmd/6l, cmd/8l: emit no-ops to separate zero-stack funcs from nosplits.
The stack overflow checker in the linker uses the spadj field
to determine whether stack space will be large enough or not.
When spadj=0, the checker treats the function as a nosplit
and emits an error although the program is correct.
Also enable the stack checker in 8l.
Fixes issue 4316.
Patch Set 1 #Patch Set 2 : diff -r 2a4a89b1f36b https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 2a4a89b1f36b https://go.googlecode.com/hg/ #Patch Set 4 : diff -r aa5d8b37ad24 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|