]> Cypherpunks repositories - gostls13.git/commit
runtime: parse auxv for page size on netbsd
authorTobias Klauser <tklauser@distanz.ch>
Tue, 27 Mar 2018 13:33:32 +0000 (13:33 +0000)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 27 Mar 2018 15:21:51 +0000 (15:21 +0000)
commit4ff4e5072590ca885f807d1619106d4d8a52217c
treedbfaf92d310c184568389e0f1783085e57b0d6c0
parenta44c72823ca4a0abd595a5ab15225811e979b353
runtime: parse auxv for page size on netbsd

Decode AT_PAGESZ to determine physPageSize on netbsd.

Also rename vdso_none.go to auxv_none.go which matches its purpose more
closely.

Akin to CL 99780 which did the same for freebsd.

Change-Id: Iea4322f861ff0f3515e9051585dbb442f024326b
Reviewed-on: https://go-review.googlesource.com/102677
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/auxv_none.go [moved from src/runtime/vdso_none.go with 93% similarity]
src/runtime/os_netbsd.go