1
0
mirror of https://github.com/golang/go synced 2024-11-24 09:40:08 -07:00

cmd/internal/obj: allow more gcbits content addressability

Follow-up to feedback on CL 352189.

Change-Id: I3d9fa87878a74a5a725812c7852050c02c433fa3
Reviewed-on: https://go-review.googlesource.com/c/go/+/354137
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
Josh Bleecher Snyder 2021-10-05 14:35:24 -07:00
parent 195945a40d
commit 0e13da8fae

View File

@ -409,9 +409,6 @@ func contentHashSection(s *LSym) byte {
if s.IsPcdata() {
return 'P'
}
if strings.HasPrefix(name, "runtime.gcbits.") {
return 'G' // gcbits
}
if strings.HasPrefix(name, "gcargs.") ||
strings.HasPrefix(name, "gclocals.") ||
strings.HasPrefix(name, "gclocals·") ||