mirror of
https://github.com/golang/go
synced 2024-11-14 08:40:27 -07:00
runtime, go/build: re-enable cgo on FreeBSD.
Fixes #7331. LGTM=dave, iant R=golang-codereviews, dave, gobot, iant CC=golang-codereviews https://golang.org/cl/89150043
This commit is contained in:
parent
d31d19765b
commit
1bb4f37fce
@ -264,6 +264,7 @@ var cgoEnabled = map[string]bool{
|
|||||||
"dragonfly/amd64": true,
|
"dragonfly/amd64": true,
|
||||||
"freebsd/386": true,
|
"freebsd/386": true,
|
||||||
"freebsd/amd64": true,
|
"freebsd/amd64": true,
|
||||||
|
"freebsd/arm": true,
|
||||||
"linux/386": true,
|
"linux/386": true,
|
||||||
"linux/amd64": true,
|
"linux/amd64": true,
|
||||||
"linux/arm": true,
|
"linux/arm": true,
|
||||||
|
@ -367,6 +367,7 @@ TEXT runtime·casp(SB),NOSPLIT,$0
|
|||||||
TEXT runtime·cas(SB),NOSPLIT,$0
|
TEXT runtime·cas(SB),NOSPLIT,$0
|
||||||
B runtime·armcas(SB)
|
B runtime·armcas(SB)
|
||||||
|
|
||||||
|
// TODO(minux): this only supports ARMv6K+.
|
||||||
TEXT runtime·read_tls_fallback(SB),NOSPLIT,$-4
|
TEXT runtime·read_tls_fallback(SB),NOSPLIT,$-4
|
||||||
MOVW $0xffff1000, R0
|
WORD $0xee1d0f70 // mrc p15, 0, r0, c13, c0, 3
|
||||||
MOVW (R0), R0
|
RET
|
||||||
|
Loading…
Reference in New Issue
Block a user