]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/loong64: remove Class C_LEXT and C_SEXT
authorlimeidan <limeidan@loongson.cn>
Thu, 4 Jan 2024 12:39:57 +0000 (20:39 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 1 Aug 2024 02:53:30 +0000 (02:53 +0000)
commitbd85a3b1535928bcdc9bb4512f3dd9048de14617
tree6a46e52ff547243a532e24704d6437152cec092e
parent3214129a835d7ab5b857c77b8389a9aba4f9d5df
cmd/internal/obj/loong64: remove Class C_LEXT and C_SEXT

There is no need to check whether the symbol is empty, since we have already
checked it before. In addition, it is enough to use C_ADDR to represent memory
access, C_LEXT and C_SEXT are not needed.

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