]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: support for NetBSD/ARM
authorShenghou Ma <minux.ma@gmail.com>
Sat, 2 Mar 2013 22:50:17 +0000 (06:50 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sat, 2 Mar 2013 22:50:17 +0000 (06:50 +0800)
commit3d50aaf4832e1b1f8143f15cee9c425fd09e94e5
tree27c50924ee39fb4d32b700120986d53e0c5f217a
parenta17b7b949160d68fb7877bb3b220364998ac7ac1
cmd/dist: support for NetBSD/ARM
1. when executing a unsupported VFP instruction, the NetBSD kernel somehow
doesn't report SIGILL, and instead just spin and spin, we add a alarm(2)
to detect this case (albeit this is a kernel bug).
2. NetBSD/ARM's VFP11 support is not complete, so temporarily disable it.
3. The default gcc shipped with NetBSD-current mis-optimizes our code
at -O2, so lower the optimization level to -O1 on NetBSD/ARM.

R=dave, rsc
CC=golang-dev
https://golang.org/cl/7286044
src/cmd/dist/arm.c
src/cmd/dist/build.c
src/cmd/dist/unix.c