[dev.link] cmd: remove "2", another round

Rename the goobj2 package to goobj.

Change-Id: Iff97b5575cbac45ac44de96b6bd9d555b9a4a12a
Reviewed-on: https://go-review.googlesource.com/c/go/+/246444
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
Cherry Zhang 2020-08-02 19:36:28 -04:00
parent 9559877543
commit 27e3778793
27 changed files with 219 additions and 219 deletions

View file

@ -5,7 +5,7 @@
package obj
import (
"cmd/internal/goobj2"
"cmd/internal/goobj"
"cmd/internal/sys"
"testing"
)
@ -43,7 +43,7 @@ func TestContentHash(t *testing.T) {
}
for _, s := range syms {
s.Set(AttrContentAddressable, true)
s.PkgIdx = goobj2.PkgIdxHashed
s.PkgIdx = goobj.PkgIdxHashed
}
// s3 references s0
r := Addrel(syms[3])
@ -59,7 +59,7 @@ func TestContentHash(t *testing.T) {
r.Sym = syms[2]
// compute hashes
h := make([]goobj2.HashType, len(syms))
h := make([]goobj.HashType, len(syms))
w := &writer{}
for i := range h {
h[i] = w.contentHash(syms[i])