mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: support linker for linux/loong64
The basic arch-specific hooks are implemented, which are used for internal and external linker. Contributors to the loong64 port are: Weining Lu <luweining@loongson.cn> Lei Wang <wanglei@loongson.cn> Lingqin Gong <gonglingqin@loongson.cn> Xiaolin Zhao <zhaoxiaolin@loongson.cn> Meidan Li <limeidan@loongson.cn> Xiaojuan Zhai <zhaixiaojuan@loongson.cn> Qiyuan Pu <puqiyuan@loongson.cn> Guoqi Chen <chenguoqi@loongson.cn> This port has been updated to Go 1.15.6: https://github.com/loongson/go Updates #46229 Change-Id: I4680eb0635dd0fa3d6ea8348a2488da9c7e33d3b Reviewed-on: https://go-review.googlesource.com/c/go/+/349514 Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
770e0e584a
commit
cc4957a5f6
12 changed files with 351 additions and 4 deletions
|
|
@ -1899,6 +1899,8 @@ func hostlinkArchArgs(arch *sys.Arch) []string {
|
|||
if buildcfg.GOOS == "darwin" {
|
||||
return []string{"-arch", "arm64"}
|
||||
}
|
||||
case sys.Loong64:
|
||||
return []string{"-mabi=lp64d"}
|
||||
case sys.MIPS64:
|
||||
return []string{"-mabi=64"}
|
||||
case sys.MIPS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue