commit | c5856cfdb6ddc779e50202a6e8984427fea97281 | [log] [tgz] |
---|---|---|
author | Michael Hudson-Doyle <michael.hudson@canonical.com> | Mon Oct 12 13:20:10 2015 +1300 |
committer | Michael Hudson-Doyle <michael.hudson@canonical.com> | Mon Oct 19 21:23:36 2015 +0000 |
tree | 5ce5cfdbde81ba8785018ddab5267f367d27fa19 | |
parent | d66f6c2c869c379f6b8ba54054ad8c3856bbb735 [diff] |
runtime: tweaks to allow -buildmode=shared to work Building Go shared libraries requires that all functions that have declarations without bodies have implementations and vice versa, so remove the implementation of call16 and add a stub implementation of sigreturn. Change-Id: I4d5a30c8637a5da7991054e151a536611d5bea46 Reviewed-on: https://go-review.googlesource.com/15966 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
For documentation about how to install and use Go, visit https://golang.org/ or load doc/install-source.html in your web browser.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.
For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:
export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin
See https://golang.org/doc/install or doc/install.html for more details.