]> Cypherpunks repositories - gostls13.git/commit
syscall: fix build on freebsd/arm
authorMikio Hara <mikioh.mikioh@gmail.com>
Fri, 7 Feb 2014 01:23:02 +0000 (10:23 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Fri, 7 Feb 2014 01:23:02 +0000 (10:23 +0900)
commitaa29cd98dcbc539f2517457a2cdfb8db3f9ff468
treeb3872495ba6736ea3040208d2cc23a1b3555a3c9
parent61fe7d83089015eca494b789dff8c325bfbfb720
syscall: fix build on freebsd/arm

This CL is in preparation to make cgo work on freebsd/arm.

It's just for fixing build fails on freebsd/arm, we still need to
update z-files later for fixing several package test fails.

How to generate z-files on freebsd/arm in the bootstrapping phase:
1. run freebsd on appropriate arm-eabi platforms
2. both syscall z-files and runtime def-files in the current tree are
   broken about EABI padding, fix them by hand
3. run make.bash again to build $GOTOOLDIR/cgo
4. use $GOTOOLDIR/cgo directly

LGTM=iant
R=iant, dave
CC=golang-codereviews
https://golang.org/cl/59490052
src/pkg/syscall/ztypes_freebsd_arm.go