]> Cypherpunks repositories - gostls13.git/commit
runtime: remove CPU capability workarounds for unsupported FreeBSD versions
authorMartin Möhrmann <moehrmann@google.com>
Wed, 6 Mar 2019 18:45:41 +0000 (19:45 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Thu, 7 Mar 2019 07:23:45 +0000 (07:23 +0000)
commit3b6216ed0601c81fe42c2a4738d419afccb62163
tree845718406fb746ad8546ac12f01c700ed8eeae37
parent9e72e604a647c5e782308a91fdc6a6fd099346c4
runtime: remove CPU capability workarounds for unsupported FreeBSD versions

This CL removes runtime code working around missing ARM processor capability
information in the auxiliary vector in older FreeBSD versions.

As announced in the Go 1.12 release notes Go 1.13 will require FreeBSD 11.2+
or FreeBSD 12.0+. These FreeBSD versions support CPU capability detection
through AT_HWCAP and AT_HWCAP2 values stored in the auxiliary vector.

Updates #27619

Change-Id: I2a457b578d35101a7a5fd56ae9b81b300ad17da4
Reviewed-on: https://go-review.googlesource.com/c/go/+/165799
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Martin Möhrmann <martisch@uos.de>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/os_freebsd_arm.go