]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/ld: handle TLS and imported symbols more regularly
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 29 Mar 2015 21:03:05 +0000 (21:03 +0000)
committerIan Lance Taylor <iant@golang.org>
Mon, 30 Mar 2015 18:14:51 +0000 (18:14 +0000)
commitb8417854c34b93b7298bc18619befc01a885948b
tree3fafd849669797dd69bc597d639bb0abcfbd2d03
parent00e0fe4b95d0ebaf17bab86795337015e476b3fc
cmd/internal/ld: handle TLS and imported symbols more regularly

For shared libraries we need to be more flexible in how these symbols
are handled (e.g. sometimes tlsg needs to be global, or you can get
a SDYNIMPORT symbol that has .Hide == true) so handling these cases
in genasmsym makes everything much more regular.

Even ignoring shared libraries, I think this is a bit cleaner.

Change-Id: If5beb093a261e79f4496183226e1765ee7aa6717
Reviewed-on: https://go-review.googlesource.com/8230
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/internal/ld/lib.go
src/cmd/internal/ld/symtab.go