]> Cypherpunks repositories - gostls13.git/commit
runtime, reflect: support multiple moduledata objects
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 29 Mar 2015 21:59:00 +0000 (21:59 +0000)
committerIan Lance Taylor <iant@golang.org>
Fri, 10 Apr 2015 04:51:42 +0000 (04:51 +0000)
commitfae4a128cb5570c6caccf4b4f2b92d118db1c775
treef408772a7aaf373d58d1859be2874a5df3ab1c44
parentcb6e9ec03d66fd5a25c513c6effcc5d8206a9133
runtime, reflect: support multiple moduledata objects

This changes all the places that consult themoduledata to consult a
linked list of moduledata objects, as will be necessary for
-linkshared to work.

Obviously, as there is as yet no way of adding moduledata objects to
this list, all this change achieves right now is wasting a few
instructions here and there.

Change-Id: I397af7f60d0849b76aaccedf72238fe664867051
Reviewed-on: https://go-review.googlesource.com/8231
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
12 files changed:
src/cmd/internal/ld/symtab.go
src/reflect/type.go
src/runtime/heapdump.go
src/runtime/mbarrier.go
src/runtime/mbitmap.go
src/runtime/mfinal.go
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/mheap.go
src/runtime/runtime1.go
src/runtime/signal_windows.go
src/runtime/symtab.go