diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2016-04-13 18:41:59 -0700 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2016-04-14 02:11:17 +0000 |
| commit | babfb4ec3ba3e4e36b1003d6efbaeddf2e975240 (patch) | |
| tree | 6ead4f750aff147e63df65f7c54b73289a4dd49d /src/cmd/internal/obj/arm64 | |
| parent | 980ab12ade53e70d037ab2ab475148b216d84a14 (diff) | |
| download | go-babfb4ec3ba3e4e36b1003d6efbaeddf2e975240.tar.xz | |
cmd/internal/obj: change Link.Flag_shared to bool
Change-Id: I9bda2ce6f45fb8292503f86d8f9f161601f222b7
Reviewed-on: https://go-review.googlesource.com/22053
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
Diffstat (limited to 'src/cmd/internal/obj/arm64')
| -rw-r--r-- | src/cmd/internal/obj/arm64/asm7.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/obj/arm64/asm7.go b/src/cmd/internal/obj/arm64/asm7.go index d0ae6115cb..55397132e0 100644 --- a/src/cmd/internal/obj/arm64/asm7.go +++ b/src/cmd/internal/obj/arm64/asm7.go @@ -972,7 +972,7 @@ func aclass(ctxt *obj.Link, a *obj.Addr) int { ctxt.Instoffset = a.Offset if a.Sym != nil { // use relocation if a.Sym.Type == obj.STLSBSS { - if ctxt.Flag_shared != 0 { + if ctxt.Flag_shared { return C_TLS_IE } else { return C_TLS_LE |
