]> Cypherpunks.ru repositories - gostls13.git/commit
Revert "cmd/link: establish dependable package initialization order"
authorKeith Randall <khr@golang.org>
Thu, 9 Mar 2023 16:31:41 +0000 (16:31 +0000)
committerKeith Randall <khr@golang.org>
Thu, 9 Mar 2023 19:19:41 +0000 (19:19 +0000)
commit642542cb3c4b672cb34cde44a415c05bf1560a5e
tree8de0ffba0445a8220cb01ac191f44d8c1048c107
parentaafc734c7807bafeb8aa69c019494f69965154b0
Revert "cmd/link: establish dependable package initialization order"

This reverts commit ce2a609909d9de3391a99a00fe140506f724f933.
aka CL 462035

Reason for revert: this CL is causing some problems in some internal Google programs.

Change-Id: I4476b8d8d2c3d7b5703d1d85c93baebb4b4e5d26
Reviewed-on: https://go-review.googlesource.com/c/go/+/474976
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
14 files changed:
src/cmd/compile/internal/pkginit/init.go
src/cmd/internal/objabi/reloctype.go
src/cmd/link/internal/ld/deadcode.go
src/cmd/link/internal/ld/heap.go
src/cmd/link/internal/ld/inittask.go [deleted file]
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/main.go
src/cmd/link/internal/ld/symtab.go
src/plugin/plugin_dlopen.go
src/runtime/plugin.go
src/runtime/proc.go
src/runtime/symtab.go
test/fixedbugs/issue31636.out
test/noinit.go