mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[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:
parent
9559877543
commit
27e3778793
27 changed files with 219 additions and 219 deletions
|
|
@ -6,7 +6,7 @@ package loader
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"cmd/internal/goobj2"
|
||||
"cmd/internal/goobj"
|
||||
"cmd/internal/objabi"
|
||||
"cmd/internal/sys"
|
||||
"cmd/link/internal/sym"
|
||||
|
|
@ -22,7 +22,7 @@ import (
|
|||
func addDummyObjSym(t *testing.T, ldr *Loader, or *oReader, name string) Sym {
|
||||
idx := uint32(len(ldr.objSyms))
|
||||
st := loadState{l: ldr}
|
||||
return st.addSym(name, 0, or, idx, nonPkgDef, &goobj2.Sym{})
|
||||
return st.addSym(name, 0, or, idx, nonPkgDef, &goobj.Sym{})
|
||||
}
|
||||
|
||||
func mkLoader() *Loader {
|
||||
|
|
@ -237,7 +237,7 @@ func sameRelocSlice(s1 *Relocs, s2 []Reloc) bool {
|
|||
type addFunc func(l *Loader, s Sym, s2 Sym) Sym
|
||||
|
||||
func mkReloc(l *Loader, typ objabi.RelocType, off int32, siz uint8, add int64, sym Sym) Reloc {
|
||||
r := Reloc{&goobj2.Reloc{}, l.extReader, l, typ}
|
||||
r := Reloc{&goobj.Reloc{}, l.extReader, l, typ}
|
||||
r.SetOff(off)
|
||||
r.SetSiz(siz)
|
||||
r.SetAdd(add)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue