]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
syscall: remove Sendfile on NetBSD
authorNikhil Benesch <nikhil.benesch@gmail.com>
Mon, 19 Oct 2020 02:19:04 +0000 (02:19 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 20 Oct 2020 17:57:10 +0000 (10:57 -0700)
NetBSD does not support the sendfile syscall.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/263521

gcc/go/gofrontend/MERGE
libgo/go/syscall/libcall_bsd_regfile.go
libgo/go/syscall/libcall_bsd_sendfile.go [moved from libgo/go/syscall/libcall_bsd.go with 88% similarity]

index 7496770f018d6ef4155c8c90a97e07a593d2d402..4ac0e8c6fc62e8cf801982281afec54702370921 100644 (file)
@@ -1,4 +1,4 @@
-3b6252d2d3ce559826303dac07538da6e78940d8
+6662382a279dd5a5f99307e9b609654717638b24
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 388c8a7d782cedecba2957869910291363bfe9f6..0b9d01f2fcf50a1fe230102ab94e00c1b872533d 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.
 
-// +build darwin dragonfly freebsd netbsd openbsd solaris,amd64 solaris,sparc64
+// +build darwin dragonfly freebsd openbsd solaris,amd64 solaris,sparc64
 
 package syscall
 
similarity index 88%
rename from libgo/go/syscall/libcall_bsd.go
rename to libgo/go/syscall/libcall_bsd_sendfile.go
index 93f5710ba03d614c2ddd5b4bf4392d8de293707d..295a1f489697df6d3e6a6c25bf1f9bdec00f67ca 100644 (file)
@@ -2,9 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin dragonfly freebsd netbsd openbsd solaris
+// +build darwin dragonfly freebsd openbsd solaris
 
-// BSD library calls.
+// BSD sendfile support.
 
 package syscall