]> Cypherpunks repositories - gostls13.git/commit
runtime: common auxv parser
authorAustin Clements <austin@google.com>
Thu, 14 Apr 2016 16:12:45 +0000 (12:12 -0400)
committerAustin Clements <austin@google.com>
Sat, 16 Apr 2016 21:42:27 +0000 (21:42 +0000)
commitc955bb2040e601c474e547b8badbe44677c9fbdf
treee5ef0398f9f19324560a1b23aa4ac03f4f12e284
parent26ecb42fb4c5ee1d8b64f12e5bb8df6549523d23
runtime: common auxv parser

Currently several different Linux architectures have separate copies
of the auxv parser. Bring these all together into a single copy of the
parser that calls out to a per-arch handler for each tag/value pair.
This is in preparation for handling common auxv tags in one place.

For #9993.

Change-Id: Iceebc3afad6b4133b70fca7003561ae370445c10
Reviewed-on: https://go-review.googlesource.com/22061
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
src/runtime/os_linux.go
src/runtime/os_linux_386.go
src/runtime/os_linux_arm.go
src/runtime/os_linux_arm64.go
src/runtime/os_linux_noauxv.go [new file with mode: 0644]
src/runtime/vdso_linux_amd64.go
src/runtime/vdso_none.go