runtime: call execname and getpagesize on Solaris
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 1 Mar 2019 14:21:24 +0000 (14:21 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 1 Mar 2019 14:21:24 +0000 (14:21 +0000)
commit337f1caed6378294b8fe97347dbb0a5e6651a71b
tree945f05bdcac9f3317a9d0861b704cf221c60cc64
parent1259cb6d0034f36cce26ca8fd3d22d40bafce04a
runtime: call execname and getpagesize on Solaris

    Interpreting auxv as []uintptr is incorrect on 64-bit big-endian,
    as auxv alternates a 32-bit int with a 64-bit pointer.

    Patch from Rainer Orth.

    Reviewed-on: https://go-review.googlesource.com/c/164739

From-SVN: r269315
gcc/go/gofrontend/MERGE
libgo/go/runtime/os3_solaris.go