aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link/internal/ld/pcln.go
diff options
context:
space:
mode:
authorqiulaidongfeng <2645477756@qq.com>2024-01-06 07:12:43 +0000
committerGopher Robot <gobot@golang.org>2024-01-22 16:17:48 +0000
commit40fab294de5eb0ac7c071194a77b4ba2e5cfe5c1 (patch)
treeee5b4bff259511e06be5067fe9ba4b0eca9a712b /src/cmd/link/internal/ld/pcln.go
parenta557f9dcd72f29a571088f6867b2c3f206df41e1 (diff)
downloadgo-40fab294de5eb0ac7c071194a77b4ba2e5cfe5c1.tar.xz
cmd/link,runtime: merge minfunc const info internal/abi
For #59670 Change-Id: If2b05b1ba30b607b518577b0e11ba5a0b07999c5 GitHub-Last-Rev: a664aa18b5ef674dc2d05c1f7533e1974d265894 GitHub-Pull-Request: golang/go#64906 Reviewed-on: https://go-review.googlesource.com/c/go/+/553276 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/link/internal/ld/pcln.go')
-rw-r--r--src/cmd/link/internal/ld/pcln.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/ld/pcln.go b/src/cmd/link/internal/ld/pcln.go
index 5734b92507..170ebe5ebe 100644
--- a/src/cmd/link/internal/ld/pcln.go
+++ b/src/cmd/link/internal/ld/pcln.go
@@ -827,7 +827,7 @@ func expandGoroot(s string) string {
}
const (
- BUCKETSIZE = 256 * MINFUNC
+ BUCKETSIZE = 256 * abi.MINFUNC
SUBBUCKETS = 16
SUBBUCKETSIZE = BUCKETSIZE / SUBBUCKETS
NOIDX = 0x7fffffff