PR go/88927
runtime, internal/cpu: fix build for ARM GNU/Linux
Was failing with
../../../libgo/go/internal/cpu/cpu.go:138:2: error: reference to undefined name 'doinit'
138 | doinit()
| ^
Fix it by adding in Go 1.12 internal/cpu/cpu_arm.go, and the code in
runtime that initializes the values.
Fixes https://gcc.gnu.org/PR88927.
Reviewed-on: https://go-review.googlesource.com/c/158717
From-SVN: r268131
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bytealg | Loading commit data... | |
| cpu | Loading commit data... | |
| fmtsort | Loading commit data... | |
| goroot | Loading commit data... | |
| nettrace | Loading commit data... | |
| poll | Loading commit data... | |
| race | Loading commit data... | |
| singleflight | Loading commit data... | |
| syscall | Loading commit data... | |
| testenv | Loading commit data... | |
| testlog | Loading commit data... | |
| trace | Loading commit data... | |
| x | Loading commit data... | |
| xcoff | Loading commit data... |