diff options
| author | qmuntal <quimmuntal@gmail.com> | 2023-09-12 14:48:12 +0200 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-09-12 16:42:41 +0000 |
| commit | 94200bf85c91b3396fdab74430b746577811335f (patch) | |
| tree | 766b290d3e6f3007f4282c4f3fec6f779d250472 /src/runtime | |
| parent | e50bbae2de46f3baf377d4fe44b571e6d7f8e80c (diff) | |
| download | go-94200bf85c91b3396fdab74430b746577811335f.tar.xz | |
all: fix Microsoft links
This CL fixes the links to Microsoft documentation in the Go source
code. Some links were broken and some others were outdated.
Change-Id: I4c3bcd3aa3c07a31be1b7f94c25339dcc2e771e8
Reviewed-on: https://go-review.googlesource.com/c/go/+/527556
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/race_amd64.s | 2 | ||||
| -rw-r--r-- | src/runtime/sys_windows_amd64.s | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/race_amd64.s b/src/runtime/race_amd64.s index 4fa130e861..45c1255509 100644 --- a/src/runtime/race_amd64.s +++ b/src/runtime/race_amd64.s @@ -24,7 +24,7 @@ // Arguments are passed in CX, DX, R8, R9, the rest is on stack. // Callee-saved registers are: BX, BP, DI, SI, R12-R15. // SP must be 16-byte aligned. Windows also requires "stack-backing" for the 4 register arguments: -// https://msdn.microsoft.com/en-us/library/ms235286.aspx +// https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention // We do not do this, because it seems to be intended for vararg/unprototyped functions. // Gcc-compiled race runtime does not try to use that space. diff --git a/src/runtime/sys_windows_amd64.s b/src/runtime/sys_windows_amd64.s index 4a14b45c63..7a7905e56a 100644 --- a/src/runtime/sys_windows_amd64.s +++ b/src/runtime/sys_windows_amd64.s @@ -58,7 +58,7 @@ loadregs: // Floating point arguments are passed in the XMM // registers. Set them here in case any of the arguments // are floating point values. For details see - // https://msdn.microsoft.com/en-us/library/zthk2dkh.aspx + // https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention?view=msvc-170 MOVQ CX, X0 MOVQ DX, X1 MOVQ R8, X2 |
