summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-07-21 09:58:18 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-07-21 10:04:45 +0200
commitc1f04a024a3d48e39ac5bfc82af7ba9fec04539c (patch)
treee8b13d72b4e930c2b8d19e1c65dc4eb1575c917d /vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
parent0de7e4662e6d574fe382714cb6664a4519771f88 (diff)
downloadpodman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.tar.gz
podman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.tar.bz2
podman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.zip
podman-remote pull: fix duplicate progress outputs
By vendoring the fixes from containers/image. Also add a test (thanks @edsantiago) to make sure we won't regress in the future again. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s')
-rw-r--r--vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s29
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s b/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
new file mode 100644
index 000000000..d560019ea
--- /dev/null
+++ b/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
@@ -0,0 +1,29 @@
+// Copyright 2021 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build (darwin || freebsd || netbsd || openbsd) && gc
+// +build darwin freebsd netbsd openbsd
+// +build gc
+
+#include "textflag.h"
+
+// System call support for RISCV64 BSD
+
+// Just jump to package syscall's implementation for all these functions.
+// The runtime may know about them.
+
+TEXT ·Syscall(SB),NOSPLIT,$0-56
+ JMP syscall·Syscall(SB)
+
+TEXT ·Syscall6(SB),NOSPLIT,$0-80
+ JMP syscall·Syscall6(SB)
+
+TEXT ·Syscall9(SB),NOSPLIT,$0-104
+ JMP syscall·Syscall9(SB)
+
+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
+ JMP syscall·RawSyscall(SB)
+
+TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
+ JMP syscall·RawSyscall6(SB)