From eb68e3367bf8d55bb98eb002cef35455f5be3c5f Mon Sep 17 00:00:00 2001 From: cuiweixie Date: Thu, 11 Nov 2021 07:10:52 +0000 Subject: [PATCH] runtime: fix typo Change filepath reference from cmd/internal/ld/symtab.go to cmd/link/internal/ld/symtab.go. Change-Id: Icb207a2e2c82d3976787d2d5cfb0f8005696f738 GitHub-Last-Rev: 428d99c6ca97db79b7d8cdf24843df3492a9aeb0 GitHub-Pull-Request: golang/go#49518 Reviewed-on: https://go-review.googlesource.com/c/go/+/363276 Reviewed-by: Ian Lance Taylor Trust: Brad Fitzpatrick --- src/runtime/symtab.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go index 3237a6b7086..21dd95a3974 100644 --- a/src/runtime/symtab.go +++ b/src/runtime/symtab.go @@ -408,7 +408,7 @@ type pcHeader struct { // moduledata records information about the layout of the executable // image. It is written by the linker. Any changes here must be -// matched changes to the code in cmd/internal/ld/symtab.go:symtab. +// matched changes to the code in cmd/link/internal/ld/symtab.go:symtab. // moduledata is stored in statically allocated non-pointer memory; // none of the pointers here are visible to the garbage collector. type moduledata struct {