From 095c0e5c000a18f63c47009fd0684669cc602584 Mon Sep 17 00:00:00 2001
From: Russ Cox
+When using the compiler and assembler's
+
diff --git a/doc/go1.6.html b/doc/go1.6.html
index 0b9dc8a9f3c..4937fc9a592 100644
--- a/doc/go1.6.html
+++ b/doc/go1.6.html
@@ -17,6 +17,7 @@ ul li { margin: 0.5em 0; }
NOTE: This is a DRAFT of the Go 1.6 release notes, prepared for the Go 1.6 beta.
Go 1.6 has NOT yet been released.
By our regular schedule, it is expected some time in February 2016.
+
-dynlink
or -shared
modes,
+any load or store of a fixed memory location such as a global variable
+must be assumed to overwrite CX
.
+Therefore, to be safe for use with these modes,
+assembly sources should typically avoid CX except between memory references.
+64-bit Intel 386 (a.k.a. amd64)
-TODO: CX no longer available on 386 assembly? (https://golang.org/cl/16386) -+
+On 32-bit x86 systems using the -dynlink
or -shared
compilation modes,
+the register CX is now overwritten by certain memory references and should
+be avoided in hand-written assembly.
+See the assembly documentation for details.
+
*
was required to have type <
Also in the fmt
package,
Scanf
can now scan hexadecimal strings using %X, as an alias for %x.
Both formats accept any mix of upper- and lower-case hexadecimal.
-TODO: Keep?
LookupAddr
now return rooted domain names (with a trailing dot)
on Plan 9 and Windows, to match the behavior of Go on Unix systems.
-TODO: Third, lookups satisfied from /etc/hosts now add a trailing dot as well,
-so that looking up 127.0.0.1 typically now returns “localhost.” not “localhost”.
-This is arguably a mistake but is not yet fixed. See https://golang.org/issue/13564.