mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link, cmd/internal/obj: stop exporting various names
Just happened to notice that these names (funcAlign and friends) are never referenced outside their package, so no need to export them. Change-Id: I4bbdaa4b0ef330c3c3ef50a2ca39593977a83545 Reviewed-on: https://go-review.googlesource.com/31496 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
832082b44e
commit
e32ac7978d
19 changed files with 81 additions and 81 deletions
|
|
@ -39,7 +39,7 @@ import (
|
|||
// Instruction layout.
|
||||
|
||||
const (
|
||||
FuncAlign = 8
|
||||
funcAlign = 8
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
@ -418,7 +418,7 @@ func span0(ctxt *obj.Link, cursym *obj.LSym) {
|
|||
cursym.Size = c
|
||||
}
|
||||
|
||||
c += -c & (FuncAlign - 1)
|
||||
c += -c & (funcAlign - 1)
|
||||
cursym.Size = c
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue