aboutsummaryrefslogtreecommitdiff
path: root/doc/asm.html
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-02-11 13:33:33 -0500
committerRuss Cox <rsc@golang.org>2016-02-16 16:46:17 +0000
commit095c0e5c000a18f63c47009fd0684669cc602584 (patch)
tree251dd22142f0dc3500e94decc6f0f0729d2f287d /doc/asm.html
parent62fad436bbea35e46ab9a4615a5fe077f205e269 (diff)
downloadgo-095c0e5c000a18f63c47009fd0684669cc602584.tar.gz
go-095c0e5c000a18f63c47009fd0684669cc602584.zip
doc: fix remaining TODOs in Go 1.6 release notes
Fixes #14300. Change-Id: Idb6a300fe0e06fb8966cf06b55f9b252752a69a6 Reviewed-on: https://go-review.googlesource.com/19459 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'doc/asm.html')
-rw-r--r--doc/asm.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/asm.html b/doc/asm.html
index cce2fe2b8d..392af174c2 100644
--- a/doc/asm.html
+++ b/doc/asm.html
@@ -621,6 +621,15 @@ These modes accept only 1, 2, 4, and 8 as scale factors.
</ul>
+<p>
+When using the compiler and assembler's
+<code>-dynlink</code> or <code>-shared</code> modes,
+any load or store of a fixed memory location such as a global variable
+must be assumed to overwrite <code>CX</code>.
+Therefore, to be safe for use with these modes,
+assembly sources should typically avoid CX except between memory references.
+</p>
+
<h3 id="amd64">64-bit Intel 386 (a.k.a. amd64)</h3>
<p>