]> Cypherpunks repositories - gostls13.git/commit
runtime: parse auxv on freebsd
authorTobias Klauser <tklauser@distanz.ch>
Fri, 9 Mar 2018 10:44:59 +0000 (11:44 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 21 Mar 2018 15:40:01 +0000 (15:40 +0000)
commit2e84dc2596f5ca655fd5716e1c277a801c868566
tree45a409cfcf4e7a370868c6752a17f114151f00e9
parent77c3ef6f6fdb53708484e944f6ef37b222e1ae89
runtime: parse auxv on freebsd

Decode AT_PAGESZ to determine physPageSize on freebsd/{386,amd64,arm}
and AT_HWCAP for hwcap and hardDiv on freebsd/arm. Also use hwcap to
perform the FP checks in checkgoarm akin to the linux/arm
implementation.

Change-Id: I532810a1581efe66277e4305cb234acdc79ee91e
Reviewed-on: https://go-review.googlesource.com/99780
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/os_freebsd.go
src/runtime/os_freebsd_arm.go
src/runtime/os_freebsd_noauxv.go [new file with mode: 0644]
src/runtime/vdso_none.go