]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/compile: mark stmp and stkobj symbols as static
authorThan McIntosh <thanm@google.com>
Tue, 30 Jun 2020 11:55:16 +0000 (07:55 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 8 Jul 2020 16:04:06 +0000 (16:04 +0000)
commit0434d4093458d24db6af1e65fb257cee78512c25
treee72d81cbe01086f4b1ef07b30e092be426867da3
parent59a702aa6aca364eb75f40261fdafe4ae9be153e
[dev.link] cmd/compile: mark stmp and stkobj symbols as static

Mark compiler-generated ".stmp_%d" and "<fn>.stkobj" symbols as
AttrStatic, so as to tell the linker that they do not need to be
inserted into its name lookup tables.

Change-Id: I59ffd11659b2c54c2d0ad41275d05c3f919e3b88
Reviewed-on: https://go-review.googlesource.com/c/go/+/240497
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/gc/obj.go
src/cmd/compile/internal/gc/sinit.go
src/cmd/internal/obj/plist.go
src/cmd/internal/obj/sym.go