]> Cypherpunks repositories - gostls13.git/commit
cmd/link,cmd/internal/obj/riscv: add TLS support for linux/riscv64
authorJoel Sing <joel@sing.id.au>
Tue, 19 May 2020 08:55:10 +0000 (18:55 +1000)
committerJoel Sing <joel@sing.id.au>
Tue, 27 Oct 2020 04:20:42 +0000 (04:20 +0000)
commit3a63d04d2edcbdb0937d775e852692279f73a2e2
treece7c03572e13c856c0615e5f3028a34987ea4f6b
parent4f2d2134764b0b7654105ac2d6f75a75cdc1de56
cmd/link,cmd/internal/obj/riscv: add TLS support for linux/riscv64

Add support for Thread Local Storage (TLS) for linux/riscv64 with external
linking, using the initial-exec model.

Update #36641

Change-Id: I3106ef9a29cde73215830b00deff43dbec1c76e0
Reviewed-on: https://go-review.googlesource.com/c/go/+/263478
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/obj/riscv/obj.go
src/cmd/internal/objabi/reloctype.go
src/cmd/internal/objabi/reloctype_string.go
src/cmd/link/internal/riscv64/asm.go