]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/oldlink: decouple from goobj2 package
authorCherry Zhang <cherryyz@google.com>
Wed, 1 Apr 2020 15:05:41 +0000 (11:05 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 1 Apr 2020 18:28:11 +0000 (18:28 +0000)
commit9f42c899e28022e4ad8eb59847fa5af9af0cdbd3
treead541b15bd895d1872eee5f899e48127f53a5774
parenta4129a1d205f9078e70822ff00c4d267cfa948e5
[dev.link] cmd/oldlink: decouple from goobj2 package

The new object file support in the old linker should not be used.
This is a minimal change that removes stuff from the old linker's
loader package, so that it decouples from the goobj2 package,
allowing the latter to evolve.

Keep the change local in the loader package, so most of the old
linker doesn't need to change. At this point I don't think we
want to make significant changes to the old linker.

Change-Id: I078c4cbb35dc4627c4b82f512a4aceec9b594925
Reviewed-on: https://go-review.googlesource.com/c/go/+/226800
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/oldlink/internal/loader/loader.go