From e32ac7978df02fae0cbbd92bb65d0d50ea4d2df5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 19 Oct 2016 12:47:59 -0700 Subject: 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 TryBot-Result: Gobot Gobot Reviewed-by: David Crawshaw --- src/cmd/internal/obj/mips/asm0.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/internal/obj/mips') diff --git a/src/cmd/internal/obj/mips/asm0.go b/src/cmd/internal/obj/mips/asm0.go index 81e8d5ba63..bac4a70900 100644 --- a/src/cmd/internal/obj/mips/asm0.go +++ b/src/cmd/internal/obj/mips/asm0.go @@ -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 /* -- cgit v1.3