]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: remove runtime.gcbits special case
authorCherry Zhang <cherryyz@google.com>
Mon, 7 Oct 2019 16:44:49 +0000 (12:44 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 8 Oct 2019 19:15:17 +0000 (19:15 +0000)
commitfcfbe25dca8525257a2c265e6bd825b5c4062c6c
tree23750ee719fc67cde3058881f778273bf1330f3e
parentb0d930577ebe86d0dbd6d3f4bf551a4e4ff1fcde
[dev.link] cmd/link: remove runtime.gcbits special case

Follow-up of Than's comment on CL 196032. For runtime.gcbits
symbols, the compiler already sets the "local" attribute
(cmd/compile/internal/gc/reflect.go:dgcptrmask). No need of the
special handling in the linker.

Change-Id: I7c53a818ed0375083f04655f3565c1c9c45f2401
Reviewed-on: https://go-review.googlesource.com/c/go/+/199642
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/objfile/objfile2.go