]> Cypherpunks repositories - gostls13.git/commit
runtime: run on GOARM=5 and GOARM=6 uniprocessor freebsd/arm systems
authorRuss Cox <rsc@golang.org>
Fri, 7 Aug 2015 15:48:52 +0000 (11:48 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 7 Aug 2015 17:39:07 +0000 (17:39 +0000)
commit4a190813587369371186e5d98182d74db10234d3
tree0d21472f479fa1f41286b95cc8328e51f736ed9d
parent0cd2999c3b7a853f48af1146db427365a09f8b38
runtime: run on GOARM=5 and GOARM=6 uniprocessor freebsd/arm systems

Also, crash early on non-Linux SMP ARM systems when GOARM < 7;
without the proper synchronization, SMP cannot work.

Linux is okay because we call kernel-provided routines for
synchronization and barriers, and the kernel takes care of
providing the right routines for the current system.
On non-Linux systems we are left to fend for ourselves.

It is possible to use different synchronization on GOARM=6,
but it's too late to do that in the Go 1.5 cycle.
We don't believe there are any non-Linux SMP GOARM=6 systems anyway.

Fixes #12067.

Change-Id: I771a556e47893ed540ec2cd33d23c06720157ea3
Reviewed-on: https://go-review.googlesource.com/13363
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/asm_arm.s
src/runtime/os1_darwin.go
src/runtime/os_darwin_arm.go
src/runtime/os_freebsd_arm.go
src/runtime/os_linux_arm.go
src/runtime/os_nacl_arm.go
src/runtime/os_netbsd_arm.go
src/runtime/os_openbsd_arm.go
src/runtime/runtime2.go