From: Ian Lance Taylor Date: Wed, 6 Jan 2016 22:58:54 +0000 (-0800) Subject: doc: fix incorrect example in asm.html X-Git-Tag: go1.6beta2~107 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bd7086996c4daef1dab56d18669625723662c555;p=gostls13.git doc: fix incorrect example in asm.html Fixes #13845. Change-Id: Ie83179b2d20c47a0296645d9e2fdc43271be495a Reviewed-on: https://go-review.googlesource.com/18307 Reviewed-by: Brad Fitzpatrick --- diff --git a/doc/asm.html b/doc/asm.html index c992e14ade..3459033f82 100644 --- a/doc/asm.html +++ b/doc/asm.html @@ -176,7 +176,7 @@ This form is used to name global functions and data. Adding <> to the name, as in foo<>(SB), makes the name visible only in the current source file, like a top-level static declaration in a C file. Adding an offset to the name refers to that offset from the symbol's address, so -a+4(SB) is four bytes past the start of foo. +foo+4(SB) is four bytes past the start of foo.