]> Cypherpunks repositories - gostls13.git/commit
cmd/link: put type descriptor method arginfo in the correct section
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 24 Sep 2021 01:03:56 +0000 (18:03 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Sep 2021 22:22:04 +0000 (22:22 +0000)
commit52b23a50f8a2028b6155da12161941803abd6198
treec39154b48018f6390ef8ff9195b4b63480a85b84
parent45134acbe645665e93cf1d399027d56b44f23299
cmd/link: put type descriptor method arginfo in the correct section

We were putting type descriptor funcdata,
such as type..eq.[2]interface {}.arginfo1
in type.* or typerel.* instead of go.func.*.

Fix that.

Change-Id: I779e6be3dd91c8029f2c3dc0e10a7d597c16678f
Reviewed-on: https://go-review.googlesource.com/c/go/+/352071
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/link/internal/ld/symtab.go