Skip to content

Commit

Permalink
cmd/internal/obj: reduce alignment for gcbits
Browse files Browse the repository at this point in the history
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 <[email protected]>
Run-TryBot: Cherry Mui <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Than McIntosh <[email protected]>
  • Loading branch information
cherrymui committed Oct 4, 2021
1 parent 78c2529 commit e5f6d8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/internal/obj/objfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit e5f6d8d

Please sign in to comment.