From e5f6d8d00c3d0c1f77665f493109925c831e7cf8 Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Fri, 1 Oct 2021 17:02:50 -0400 Subject: [PATCH] cmd/internal/obj: reduce alignment for gcbits runtime.gcbits symbols are pointer masks, which are just bytes. Change-Id: I6e86359451c7da69da435e1928e55712dd904047 Reviewed-on: https://go-review.googlesource.com/c/go/+/353571 Trust: Cherry Mui Run-TryBot: Cherry Mui TryBot-Result: Go Bot Reviewed-by: Than McIntosh --- src/cmd/internal/obj/objfile.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/internal/obj/objfile.go b/src/cmd/internal/obj/objfile.go index b6b922e02ba..0f3356f85e7 100644 --- a/src/cmd/internal/obj/objfile.go +++ b/src/cmd/internal/obj/objfile.go @@ -344,6 +344,7 @@ func (w *writer) Sym(s *LSym) { case strings.HasPrefix(s.Name, "go.string."), strings.HasPrefix(name, "type..namedata."), strings.HasPrefix(name, "type..importpath."), + strings.HasPrefix(name, "runtime.gcbits."), strings.HasSuffix(name, ".opendefer"), strings.HasSuffix(name, ".arginfo0"), strings.HasSuffix(name, ".arginfo1"):