mirror of
https://github.com/golang/go
synced 2024-11-24 12:30:14 -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:
parent
195945a40d
commit
0e13da8fae
@ -409,9 +409,6 @@ func contentHashSection(s *LSym) byte {
|
|||||||
if s.IsPcdata() {
|
if s.IsPcdata() {
|
||||||
return 'P'
|
return 'P'
|
||||||
}
|
}
|
||||||
if strings.HasPrefix(name, "runtime.gcbits.") {
|
|
||||||
return 'G' // gcbits
|
|
||||||
}
|
|
||||||
if strings.HasPrefix(name, "gcargs.") ||
|
if strings.HasPrefix(name, "gcargs.") ||
|
||||||
strings.HasPrefix(name, "gclocals.") ||
|
strings.HasPrefix(name, "gclocals.") ||
|
||||||
strings.HasPrefix(name, "gclocals·") ||
|
strings.HasPrefix(name, "gclocals·") ||
|
||||||
|
Loading…
Reference in New Issue
Block a user