]> Cypherpunks repositories - gostls13.git/commitdiff
internal/syscall/unix: loong64 use generic syscall
authorXiaodong Liu <liuxiaodong@loongson.cn>
Mon, 15 Nov 2021 12:59:24 +0000 (20:59 +0800)
committerIan Lance Taylor <iant@google.com>
Tue, 17 May 2022 19:57:24 +0000 (19:57 +0000)
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: I5988bf3efed37b03b9193f1089dfece060ccba99
Reviewed-on: https://go-review.googlesource.com/c/go/+/363934
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/internal/syscall/unix/at_sysnum_fstatat_linux.go
src/internal/syscall/unix/sysnum_linux_generic.go

index 73a3da5bff2112b7940caccbe1b939d4f98d96c5..90a932b7409a7a88d5691cdc10d4f98086ecaf81 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build arm64 || riscv64
+//go:build arm64 || loong64 || riscv64
 
 package unix
 
index 3c5394a96b1c1201c816ff242ab839dc9d8c3f1b..8c132c6bf5071a65554b9909dee60b1ac938874a 100644 (file)
@@ -2,13 +2,13 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build linux && (arm64 || riscv64)
+//go:build linux && (arm64 || loong64 || riscv64)
 
 package unix
 
 // This file is named "generic" because at a certain point Linux started
 // standardizing on system call numbers across architectures. So far this
-// means only arm64 and riscv64 use the standard numbers.
+// means only arm64 loong64 and riscv64 use the standard numbers.
 
 const (
        getrandomTrap     uintptr = 278