]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: delete undef pass
authorCherry Zhang <cherryyz@google.com>
Wed, 6 May 2020 16:06:52 +0000 (12:06 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 6 May 2020 20:05:51 +0000 (20:05 +0000)
commit2867a855413ac7cb10c1e5ca5b68f15c0125b40f
tree1f53423d1db3d62234932566f3c016dde609b2af
parentdc048e24abe0954f2ce9e022974e6e1d718f6778
[dev.link] cmd/link: delete undef pass

The undef pass basically double-checks the relocation targets are
defined. We already do that in the reloc pass, and for external
relocations we check that when we emit relocations. The undef pass
doesn't seem necessary.

Change-Id: Iecfa654dc014fdc6e59c624cbf5948ad65fd367a
Reviewed-on: https://go-review.googlesource.com/c/go/+/232577
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/main.go