From: Cherry Mui Date: Fri, 1 Oct 2021 21:02:50 +0000 (-0400) Subject: cmd/internal/obj: reduce alignment for gcbits X-Git-Tag: go1.18beta1~1062 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e5f6d8d00c3d0c1f77665f493109925c831e7cf8;p=gostls13.git 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 --- diff --git a/src/cmd/internal/obj/objfile.go b/src/cmd/internal/obj/objfile.go index b6b922e02b..0f3356f85e 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"):