]> Cypherpunks repositories - gostls13.git/commit
cmd/link: remove name expansion logic
authorCherry Mui <cherryyz@google.com>
Fri, 6 May 2022 17:52:23 +0000 (13:52 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 12 May 2022 18:45:57 +0000 (18:45 +0000)
commite3f7816f0eae375d261e35d0b541a61c463c9111
treecd5194c4cbabf328c778118a683b129cd60e48c7
parentc4c9c80e4f20ca825e66eed254142b1623706b68
cmd/link: remove name expansion logic

Now both the compiler and the assembler require the -p flag and
emit full package path in symbol names, we no longer need to do
the name expansion in the linker. Delete it.

Change-Id: I771d4d97987a0a17414881b52806d600ef4cc351
Reviewed-on: https://go-review.googlesource.com/c/go/+/404300
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
src/cmd/internal/goobj/objfile.go
src/cmd/link/internal/ld/go.go
src/cmd/link/internal/ld/macho.go
src/cmd/link/internal/ld/pe.go
src/cmd/link/internal/ld/symtab.go
src/cmd/link/internal/loader/loader.go
src/cmd/link/internal/loader/loader_test.go
src/cmd/link/internal/loadmacho/ldmacho.go