Descriptionruntime: fix nacl build
The NaCl "system calls" were assumed to have a compatible
return convention with the C compiler, and we were using
tail jumps to those functions. Don't do that anymore.
Correct mistake introduced in newstackcall duringconversion
from (SP) to (FP) notation. (Actually this fix, in asm_amd64p32.s,
slipped into the C compiler change, but update the name to
match what go vet wants.)
Correct computation of caller stack pointer in morestack:
on amd64p32, the saved PC is the size of a uintreg, not uintptr.
This may not matter, since it's been like this for a while,
but uintreg is the correct one. (And on non-NaCl they are the same.)
This will allow the NaCl build to get much farther.
It will probably still not work completely.
There's a bug in 6l that needs fixing too.
Patch Set 1 #Patch Set 2 : diff -r 30698178519cc3125815e08b7119b91c6c6dce13 https://code.google.com/p/go/ #Patch Set 3 : diff -r 30698178519cc3125815e08b7119b91c6c6dce13 https://code.google.com/p/go/ #Patch Set 4 : diff -r 8b5fc7c59d0597d0626080fea96fce4bbeff6860 https://code.google.com/p/go/ #Patch Set 5 : diff -r 5d86455c549905d18f68c719b2495d578de5c86d https://code.google.com/p/go/ #
Total comments: 1
MessagesTotal messages: 4
|