]> Cypherpunks repositories - gostls13.git/commit
runtime: move vdso_linux_amd64.go to vdso_linux.go
authorFrank Somers <fsomers@arista.com>
Tue, 10 Oct 2017 20:15:56 +0000 (21:15 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 11 Oct 2017 13:42:27 +0000 (13:42 +0000)
commit4477107b7b94c291726268a978d30913cc0b130b
tree47e12145719d58589bbe4e0cc322c217ce453147
parent6013052e7d4c46456ff2c6acb2488c4f580e95f8
runtime: move vdso_linux_amd64.go to vdso_linux.go

This is a preparation step for adding vDSO support on linux/386.

In a follow-on change, the vDSO ELF symbol lookup code in this
file will be refactored so it can be used on multiple architectures.

First, move the file to an architecture-neutral file name so that
the change history is preserved. Build tags are added so that the
build behaves as it did before.

vdso_linux_amd64.go will be recreated later, just containing the
amd64 specifics.

If the move and refactor were combined in a single change, then the
history to date would be lost because git would see the existing code
as a new file.

Change-Id: Iddb5da0d7faf141fd7cc835fe6a80c80153897e9
Reviewed-on: https://go-review.googlesource.com/69710
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/vdso_linux.go [moved from src/runtime/vdso_linux_amd64.go with 99% similarity]