]> Cypherpunks repositories - gostls13.git/commit
runtime: rename offsets macros to prepare for multiple versions
authorGiovanni Bajo <rasky@develer.com>
Fri, 29 Sep 2017 22:55:26 +0000 (00:55 +0200)
committerIan Lance Taylor <iant@golang.org>
Tue, 3 Oct 2017 14:53:33 +0000 (14:53 +0000)
commit11f494f37eec4325a96db32188fac41ec11a19e9
treee4bdd8dd7908378c666e6e31789e94974e6f97b3
parent630d176e7d5e42e21d176d1b9d48de0e03e7cec8
runtime: rename offsets macros to prepare for multiple versions

High Sierra has a new commpage layout (this is issue #3188), so
we need to adjust the code to handle multiple versions of the
layout.

In preparation for this change, we rename the existing offset
macros with a prefix that identifies the commpage version they
refer to.

Updates #22037

Change-Id: Idca4b7a855a2ff6dbc434cd12453fc3194707aa8
Reviewed-on: https://go-review.googlesource.com/67331
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/sys_darwin_amd64.s