aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2021-10-01 17:02:50 -0400
committerCherry Mui <cherryyz@google.com>2021-10-04 23:29:20 +0000
commite5f6d8d00c3d0c1f77665f493109925c831e7cf8 (patch)
tree51aa8c3dd121efff8159b8a41d8d8d1579d7b6f5 /src/cmd/internal
parent78c2529d73fbd2e2213c9f03862bcf2aaa86d78b (diff)
downloadgo-e5f6d8d00c3d0c1f77665f493109925c831e7cf8.tar.gz
go-e5f6d8d00c3d0c1f77665f493109925c831e7cf8.zip
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 <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd/internal')
-rw-r--r--src/cmd/internal/obj/objfile.go1
1 files changed, 1 insertions, 0 deletions
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"):