]> Cypherpunks repositories - gostls13.git/commit
runtime: add support for --buildmode=c-shared on loong64
authorlimeidan <limeidan@loongson.cn>
Thu, 25 Aug 2022 03:07:25 +0000 (11:07 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 10 Apr 2023 15:50:43 +0000 (15:50 +0000)
commit80eeec69790b55861a1e30d16d3663763989ae15
treed4937916517910d2d66cf8b8a897a2ab540e94de
parenta3dd95922913e51e7f0d4a20b8993fde710eb20e
runtime: add support for --buildmode=c-shared on loong64

These c-shared related CLs are follow up of CLs 455016, 455017, 455018. Here we
follow the LoongArch ELF psABI v2 standard, which requires the support of the
PCALAU12I instruction.

Updates #53301
Updates #58784

Change-Id: I7f1ddbf3b2470d610f12069d147aa9b3a6a96f32
Reviewed-on: https://go-review.googlesource.com/c/go/+/425474
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/rt0_linux_loong64.s