]> git.ipfire.org Git - thirdparty/gcc.git/commit
runtime/internal/atomic: new package, API copied from Go 1.7
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Sep 2016 12:21:59 +0000 (12:21 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Sep 2016 12:21:59 +0000 (12:21 +0000)
commitd73968290009ac5e54ded305890729634d0b48d0
treeb4415ddf1a7fca30e8f28898fc5f1a50f344315c
parent33d69cb408ec172ae20f7f9b3a398f37fdf1a381
runtime/internal/atomic: new package, API copied from Go 1.7

    Copy over the Go 1.7 runtime/internal/atomic package, but implement the
    functions in C using __atomic functions rather than using the
    processor-specific assembler code.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240070 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/runtime/internal/atomic/atomic.c [new file with mode: 0644]
libgo/go/runtime/internal/atomic/atomic_test.go [new file with mode: 0644]
libgo/go/runtime/internal/atomic/gccgo.go [new file with mode: 0644]
libgo/go/runtime/internal/atomic/stubs.go [new file with mode: 0644]