diff options
| author | Michel Lespinasse <walken@google.com> | 2016-03-17 07:00:33 -0700 |
|---|---|---|
| committer | Michel Lespinasse <walken@google.com> | 2016-03-29 02:18:56 +0000 |
| commit | 79688ca58f59a65eee324694fd8a559dae8af149 (patch) | |
| tree | 34397cb080d24b7ebe4ca4f47aced111ea9d8d44 /src/cmd/internal/obj/link.go | |
| parent | f00bbd5f818f0a6b5b2fcf15422ad7fc4594225f (diff) | |
| download | go-79688ca58f59a65eee324694fd8a559dae8af149.tar.xz | |
cmd/link: collect itablinks as a slice in moduledata
See #14874
This change tells the linker to collect all the itablink symbols and
collect them so that moduledata can have a slice of all compiler
generated itabs.
The logic is shamelessly adapted from what is done with typelink symbols.
Change-Id: Ie93b59acf0fcba908a876d506afbf796f222dbac
Reviewed-on: https://go-review.googlesource.com/20889
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/link.go')
| -rw-r--r-- | src/cmd/internal/obj/link.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/internal/obj/link.go b/src/cmd/internal/obj/link.go index 11d451abb2..152a2acea0 100644 --- a/src/cmd/internal/obj/link.go +++ b/src/cmd/internal/obj/link.go @@ -397,6 +397,7 @@ const ( SFUNCTABRELRO STYPELINK + SITABLINK SSYMTAB SPCLNTAB SELFROSECT |
