]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/loong64: return an error when getting address of tls variable
authorlimeidan <limeidan@loongson.cn>
Thu, 11 Jan 2024 02:48:12 +0000 (10:48 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Tue, 30 Jul 2024 00:33:36 +0000 (00:33 +0000)
commit44663f333b160984bb499bc7211a352c56d5f56b
tree79f4e934320e43d706e35ae14d92d6cc43559b47
parent1ef6b2805ea1d78c082c7c55df39fc3d3942e4c9
cmd/internal/obj/loong64: return an error when getting address of tls variable

The tls variable is thread local variable, an operation to get its address
is not supported, so we should return an error here.

Change-Id: Ia6a637f549cb886fdb643bdc04eeb269849d1096
Reviewed-on: https://go-review.googlesource.com/c/go/+/565621
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
src/cmd/internal/obj/loong64/a.out.go
src/cmd/internal/obj/loong64/asm.go
src/cmd/internal/obj/loong64/cnames.go