From e71276c7417fcaed566478b37b0f68031a7fc157 Mon Sep 17 00:00:00 2001
From: Rob Pike Assembler
-Perhaps more important is that some discrepancies between the
-architectures in how the PC and SP are handled have been
-eliminated.
-Sometimes these registers represented hardware
-registers, and sometimes pseudo-registers.
-As of Go 1.5, the names PC
and SP
-are always pseudo-registers.
-To refer to the hardware register, use the alternate representation such
-as R13
for the stack pointer and
-R15
for the hardware program counter on x86.
-(The names are different on other architectures.)
-To help enforce this change, references to the
-SP
and PC
-pseudo-registers now always require an identifier:
-f+4(SP)
not 4(SP)
;
-it is a syntax error to omit the identifier.
-Uses of SP
(say) as a hardware register
-tend to omit the name, and they will now be flagged by
-the assembler.
+Perhaps more important is that on machines where
+SP
or PC
is only an alias
+for a numbered register,
+such as R13
for the stack pointer and
+R15
for the hardware program counter
+on x86,
+a reference to such a register that does not include a symbol
+is now illegal.
+For example, SP
and 4(SP)
are
+illegal but sym+4(SP)
is fine.
+On such machines, to refer to the hardware register use its
+true R
name.
@@ -487,11 +480,15 @@
-asmflags
build option has been added to provide
flags to the assembler.
However,
-the -ccflags
build option has been dropped. TODO: why?
+the -ccflags
build option has been dropped;
+it was specific to the old, now deleted C compiler .
test
subcommand now has a -count
+flag to specify how many times to run each test and benchmark.
+testing
package
+does the work here, through by the -test.count
flag.
$DOLLAR
expands to a dollar sign.
get
subcommand now has a -insecure
+flag that must be enabled if fetching from an insecure repository, one that
+does not encrypt the connection.
+Certificate
struct,
and the client requests them and exposes them, if present,
in its ConnectionState
struct.
-The crytpo/tls
server implementation
+The crytpo/tls
server implementation
will also now always call the
GetCertificate
function in
the Config
struct
@@ -1039,13 +1042,6 @@ net/http
package's
-Request
type adds a
-Cancel
field, a channel to signal that the request has been
-canceled.
-net/mail
package
adds a AddressParser