From 0e13da8fae55d17c0c4ca64b1b8f259d633cee51 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 5 Oct 2021 14:35:24 -0700 Subject: [PATCH] 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 Run-TryBot: Josh Bleecher Snyder TryBot-Result: Go Bot Reviewed-by: Cherry Mui --- src/cmd/internal/obj/objfile.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cmd/internal/obj/objfile.go b/src/cmd/internal/obj/objfile.go index 687cddc70cf..98af803880f 100644 --- a/src/cmd/internal/obj/objfile.go +++ b/src/cmd/internal/obj/objfile.go @@ -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·") ||