]> Cypherpunks repositories - gostls13.git/commit
fix build for Linux/ARM.
authorShenghou Ma <minux.ma@gmail.com>
Tue, 14 Feb 2012 01:16:57 +0000 (20:16 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 14 Feb 2012 01:16:57 +0000 (20:16 -0500)
commit31ab16f98eb9f7a121d666e22ac4d46d97934c1d
tree0dd41a0ed5d9ebfeec1d5d0fffe012aa180db84d
parent763716ae2a1b5ec33dbee942ba37ad0a4940d96b
fix build for Linux/ARM.
        1, IMO, the fatal error "regfree: not a register" from 5g when
         compiling runtime/debug.go is due to gcc miscompile, it doesn't
         show up when compiled with -O0. But I still haven't thought of
         a way to fix this, should all ARM builds be built with -O0?
        2, fixed mksysnum_linux.pl, so zsysnum_linux_arm.go no longer
        needs to be hand-generated.
        3, regen all in pkg syscall for Linux/ARM on Debian 6.0
This CL is somewhat big, I'd like to split it if necessary.

R=rsc, dave
CC=golang-dev
https://golang.org/cl/5659044
src/pkg/runtime/signal_linux_arm.c
src/pkg/syscall/mksysnum_linux.pl
src/pkg/syscall/zerrors_linux_arm.go
src/pkg/syscall/zsysnum_linux_arm.go
src/pkg/syscall/ztypes_linux_arm.go