]> Cypherpunks repositories - gostls13.git/commit
runtime: fix netbsd runtime defs
authorJoel Sing <jsing@google.com>
Tue, 15 May 2012 15:52:20 +0000 (01:52 +1000)
committerJoel Sing <jsing@google.com>
Tue, 15 May 2012 15:52:20 +0000 (01:52 +1000)
commit8a9edcf7906637ddb037296a86f664a50c47a199
tree6103aa45373d7f6ed1671e861133c962afb0ab9b
parent773685b4a3e4f8911421825f879f06a3de92c15e
runtime: fix netbsd runtime defs

Fix and regenerate runtime defs for NetBSD.

Whilst the mcontext struct can be handled across architectures,
the registers are provided as defines that index an array, rather
than as members of the struct. Since these are architecture
dependent, include them via a defs_netbsd_<arch>.go file.

R=golang-dev, m4dh4tt3r, rsc
CC=golang-dev
https://golang.org/cl/6190070
src/pkg/runtime/defs_netbsd.go
src/pkg/runtime/defs_netbsd_386.go [new file with mode: 0644]
src/pkg/runtime/defs_netbsd_386.h
src/pkg/runtime/defs_netbsd_amd64.go [new file with mode: 0644]
src/pkg/runtime/defs_netbsd_amd64.h