runtime/internal/sys: new package, API copied from Go 1.7
authorIan Lance Taylor <iant@golang.org>
Sun, 11 Sep 2016 13:23:27 +0000 (13:23 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sun, 11 Sep 2016 13:23:27 +0000 (13:23 +0000)
commita846424359772bfe8d76fae153e1cc21f02876a1
tree0815e13095e63e030ca2a15736d99e36938b55cb
parenta1cd04ace88932053e171a2df5d1c7f41329a851
runtime/internal/sys: new package, API copied from Go 1.7

    Copy over the Go 1.7 runtime/internal/sys package, but instead of having
    separate files for each GOARCH and GOOS value, set the values in
    configure.ac and write them out in Makefile.am.  Setting the values in
    configure.ac should make it easier to add new processors.

    Remove the automake GOARCH conditionals, which are no longer used.
    Leave the GOOS conditionals for now, as they are used for the C runtime
    package.

    Reviewed-on: https://go-review.googlesource.com/29018

From-SVN: r240083
13 files changed:
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/configure
libgo/configure.ac
libgo/go/runtime/extern.go
libgo/go/runtime/internal/sys/intrinsics.go [new file with mode: 0644]
libgo/go/runtime/internal/sys/intrinsics_test.go [new file with mode: 0644]
libgo/go/runtime/internal/sys/stubs.go [new file with mode: 0644]
libgo/go/runtime/internal/sys/sys.go [new file with mode: 0644]
libgo/testsuite/Makefile.in