]> git.ipfire.org Git - thirdparty/gcc.git/commit
runtime/internal/sys: new package, API copied from Go 1.7
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Sep 2016 13:23:27 +0000 (13:23 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Sep 2016 13:23:27 +0000 (13:23 +0000)
commit91d733e1ca11bfb60afa7191b1fba12cc4966f76
tree0815e13095e63e030ca2a15736d99e36938b55cb
parent08d6d42cdddb65709440fcc514d72d1adbee9c72
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240083 138bc75d-0d04-0410-961f-82ee72b054a4
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