This libgo patch bySvante Signell adds hurd build tags.  Bootstrapped
and ran Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.

Ian
Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE     (revision 268458)
+++ gcc/go/gofrontend/MERGE     (working copy)
@@ -1,4 +1,4 @@
-c49ad6c4e66fa7ca992d947a5f0377090abadf6b
+aa860a9ab0d1b60d1f499065a40a11e8a247422f
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
Index: libgo/go/archive/tar/stat_actime1.go
===================================================================
--- libgo/go/archive/tar/stat_actime1.go        (revision 268369)
+++ libgo/go/archive/tar/stat_actime1.go        (working copy)
@@ -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 linux dragonfly openbsd solaris
+// +build hurd linux dragonfly openbsd solaris
 
 package tar
 
Index: libgo/go/archive/tar/stat_unix.go
===================================================================
--- libgo/go/archive/tar/stat_unix.go   (revision 268369)
+++ libgo/go/archive/tar/stat_unix.go   (working copy)
@@ -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 aix linux darwin dragonfly freebsd openbsd netbsd solaris
+// +build aix hurd linux darwin dragonfly freebsd openbsd netbsd solaris
 
 package tar
 
Index: libgo/go/cmd/go/internal/base/signal_unix.go
===================================================================
--- libgo/go/cmd/go/internal/base/signal_unix.go        (revision 268369)
+++ libgo/go/cmd/go/internal/base/signal_unix.go        (working copy)
@@ -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 aix darwin dragonfly freebsd js linux nacl netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd js linux nacl netbsd openbsd 
solaris
 
 package base
 
Index: libgo/go/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go
===================================================================
--- libgo/go/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go     
(revision 268369)
+++ libgo/go/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go     
(working copy)
@@ -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 
!aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!plan9,!solaris,!windows
+// +build 
!aix,!darwin,!dragonfly,!freebsd,!hurd,!linux,!netbsd,!openbsd,!plan9,!solaris,!windows
 
 package filelock
 
Index: libgo/go/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go
===================================================================
--- libgo/go/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go      
(revision 268369)
+++ libgo/go/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go      
(working copy)
@@ -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 linux netbsd openbsd
+// +build darwin dragonfly freebsd hurd linux netbsd openbsd
 
 package filelock
 
Index: libgo/go/crypto/rand/eagain.go
===================================================================
--- libgo/go/crypto/rand/eagain.go      (revision 268369)
+++ libgo/go/crypto/rand/eagain.go      (working copy)
@@ -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 aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux nacl netbsd openbsd solaris
 
 package rand
 
Index: libgo/go/crypto/rand/rand_unix.go
===================================================================
--- libgo/go/crypto/rand/rand_unix.go   (revision 268369)
+++ libgo/go/crypto/rand/rand_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd linux nacl netbsd openbsd plan9 solaris
+// +build aix darwin dragonfly freebsd hurd linux nacl netbsd openbsd plan9 
solaris
 
 // Unix cryptographically secure pseudorandom number
 // generator.
Index: libgo/go/crypto/x509/root_unix.go
===================================================================
--- libgo/go/crypto/x509/root_unix.go   (revision 268369)
+++ libgo/go/crypto/x509/root_unix.go   (working copy)
@@ -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 aix dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris
+// +build aix dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris
 
 package x509
 
Index: libgo/go/internal/poll/fd_fsync_posix.go
===================================================================
--- libgo/go/internal/poll/fd_fsync_posix.go    (revision 268369)
+++ libgo/go/internal/poll/fd_fsync_posix.go    (working copy)
@@ -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 aix dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris
+// +build aix dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris
 
 package poll
 
Index: libgo/go/internal/poll/fd_poll_runtime.go
===================================================================
--- libgo/go/internal/poll/fd_poll_runtime.go   (revision 268369)
+++ libgo/go/internal/poll/fd_poll_runtime.go   (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd windows solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd windows 
solaris
 
 package poll
 
Index: libgo/go/internal/poll/fd_posix.go
===================================================================
--- libgo/go/internal/poll/fd_posix.go  (revision 268369)
+++ libgo/go/internal/poll/fd_posix.go  (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package poll
 
Index: libgo/go/internal/poll/fd_unix.go
===================================================================
--- libgo/go/internal/poll/fd_unix.go   (revision 268369)
+++ libgo/go/internal/poll/fd_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package poll
 
Index: libgo/go/internal/poll/hook_cloexec.go
===================================================================
--- libgo/go/internal/poll/hook_cloexec.go      (revision 268369)
+++ libgo/go/internal/poll/hook_cloexec.go      (working copy)
@@ -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 dragonfly freebsd linux netbsd openbsd
+// +build dragonfly freebsd hurd linux netbsd openbsd
 
 package poll
 
Index: libgo/go/internal/poll/hook_unix.go
===================================================================
--- libgo/go/internal/poll/hook_unix.go (revision 268369)
+++ libgo/go/internal/poll/hook_unix.go (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package poll
 
Index: libgo/go/internal/poll/sock_cloexec.go
===================================================================
--- libgo/go/internal/poll/sock_cloexec.go      (revision 268369)
+++ libgo/go/internal/poll/sock_cloexec.go      (working copy)
@@ -5,7 +5,7 @@
 // This file implements sysSocket and accept for platforms that
 // provide a fast path for setting SetNonblock and CloseOnExec.
 
-// +build dragonfly freebsd linux netbsd openbsd
+// +build dragonfly freebsd hurd linux netbsd openbsd
 
 package poll
 
Index: libgo/go/internal/poll/sockopt.go
===================================================================
--- libgo/go/internal/poll/sockopt.go   (revision 268369)
+++ libgo/go/internal/poll/sockopt.go   (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris 
windows
 
 package poll
 
Index: libgo/go/internal/poll/sockopt_unix.go
===================================================================
--- libgo/go/internal/poll/sockopt_unix.go      (revision 268369)
+++ libgo/go/internal/poll/sockopt_unix.go      (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package poll
 
Index: libgo/go/internal/poll/sockoptip.go
===================================================================
--- libgo/go/internal/poll/sockoptip.go (revision 268369)
+++ libgo/go/internal/poll/sockoptip.go (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris 
windows
 
 package poll
 
Index: libgo/go/internal/syscall/unix/nonblocking.go
===================================================================
--- libgo/go/internal/syscall/unix/nonblocking.go       (revision 268369)
+++ libgo/go/internal/syscall/unix/nonblocking.go       (working copy)
@@ -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 aix dragonfly freebsd linux netbsd openbsd solaris
+// +build aix dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package unix
 
Index: libgo/go/internal/x/net/internal/nettest/helper_nobsd.go
===================================================================
--- libgo/go/internal/x/net/internal/nettest/helper_nobsd.go    (revision 
268369)
+++ libgo/go/internal/x/net/internal/nettest/helper_nobsd.go    (working copy)
@@ -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 aix linux solaris
+// +build aix hurd linux solaris
 
 package nettest
 
Index: libgo/go/internal/x/net/internal/nettest/helper_posix.go
===================================================================
--- libgo/go/internal/x/net/internal/nettest/helper_posix.go    (revision 
268369)
+++ libgo/go/internal/x/net/internal/nettest/helper_posix.go    (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris 
windows
 
 package nettest
 
Index: libgo/go/internal/x/net/internal/nettest/helper_unix.go
===================================================================
--- libgo/go/internal/x/net/internal/nettest/helper_unix.go     (revision 
268369)
+++ libgo/go/internal/x/net/internal/nettest/helper_unix.go     (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package nettest
 
Index: libgo/go/mime/type_unix.go
===================================================================
--- libgo/go/mime/type_unix.go  (revision 268369)
+++ libgo/go/mime/type_unix.go  (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package mime
 
Index: libgo/go/net/addrselect.go
===================================================================
--- libgo/go/net/addrselect.go  (revision 268369)
+++ libgo/go/net/addrselect.go  (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 // Minimal RFC 6724 address selection.
 
Index: libgo/go/net/cgo_resnew.go
===================================================================
--- libgo/go/net/cgo_resnew.go  (revision 268369)
+++ libgo/go/net/cgo_resnew.go  (working copy)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build cgo,!netgo
-// +build aix darwin linux,!android netbsd solaris
+// +build aix darwin hurd linux,!android netbsd solaris
 
 package net
 
Index: libgo/go/net/cgo_sockold.go
===================================================================
--- libgo/go/net/cgo_sockold.go (revision 268369)
+++ libgo/go/net/cgo_sockold.go (working copy)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build cgo,!netgo
-// +build aix darwin dragonfly freebsd netbsd openbsd
+// +build aix darwin dragonfly freebsd hurd netbsd openbsd
 
 package net
 
Index: libgo/go/net/cgo_unix.go
===================================================================
--- libgo/go/net/cgo_unix.go    (revision 268369)
+++ libgo/go/net/cgo_unix.go    (working copy)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build cgo,!netgo
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package net
 
Index: libgo/go/net/conf.go
===================================================================
--- libgo/go/net/conf.go        (revision 268369)
+++ libgo/go/net/conf.go        (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package net
 
Index: libgo/go/net/dnsclient_unix.go
===================================================================
--- libgo/go/net/dnsclient_unix.go      (revision 268369)
+++ libgo/go/net/dnsclient_unix.go      (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 // DNS client: see RFC 1035.
 // Has to be linked into package net for Dial.
Index: libgo/go/net/dnsconfig_unix.go
===================================================================
--- libgo/go/net/dnsconfig_unix.go      (revision 268369)
+++ libgo/go/net/dnsconfig_unix.go      (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 // Read system DNS config from /etc/resolv.conf
 
Index: libgo/go/net/error_posix.go
===================================================================
--- libgo/go/net/error_posix.go (revision 268369)
+++ libgo/go/net/error_posix.go (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package net
 
Index: libgo/go/net/error_unix.go
===================================================================
--- libgo/go/net/error_unix.go  (revision 268369)
+++ libgo/go/net/error_unix.go  (working copy)
@@ -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 aix darwin dragonfly freebsd js linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd js linux netbsd openbsd solaris
 
 package net
 
Index: libgo/go/net/fd_unix.go
===================================================================
--- libgo/go/net/fd_unix.go     (revision 268369)
+++ libgo/go/net/fd_unix.go     (working copy)
@@ -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 aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux nacl netbsd openbsd solaris
 
 package net
 
Index: libgo/go/net/file_unix.go
===================================================================
--- libgo/go/net/file_unix.go   (revision 268369)
+++ libgo/go/net/file_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package net
 
Index: libgo/go/net/hook_unix.go
===================================================================
--- libgo/go/net/hook_unix.go   (revision 268369)
+++ libgo/go/net/hook_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package net
 
Index: libgo/go/net/interface_stub.go
===================================================================
--- libgo/go/net/interface_stub.go      (revision 268369)
+++ libgo/go/net/interface_stub.go      (working copy)
@@ -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 aix nacl js,wasm
+// +build aix nacl hurd js,wasm
 
 package net
 
Index: libgo/go/net/internal/socktest/switch_unix.go
===================================================================
--- libgo/go/net/internal/socktest/switch_unix.go       (revision 268369)
+++ libgo/go/net/internal/socktest/switch_unix.go       (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package socktest
 
Index: libgo/go/net/internal/socktest/sys_cloexec.go
===================================================================
--- libgo/go/net/internal/socktest/sys_cloexec.go       (revision 268369)
+++ libgo/go/net/internal/socktest/sys_cloexec.go       (working copy)
@@ -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 dragonfly freebsd linux netbsd openbsd
+// +build dragonfly freebsd hurd linux netbsd openbsd
 
 package socktest
 
Index: libgo/go/net/internal/socktest/sys_unix.go
===================================================================
--- libgo/go/net/internal/socktest/sys_unix.go  (revision 268369)
+++ libgo/go/net/internal/socktest/sys_unix.go  (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package socktest
 
Index: libgo/go/net/iprawsock_posix.go
===================================================================
--- libgo/go/net/iprawsock_posix.go     (revision 268369)
+++ libgo/go/net/iprawsock_posix.go     (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package net
 
Index: libgo/go/net/ipsock_posix.go
===================================================================
--- libgo/go/net/ipsock_posix.go        (revision 268369)
+++ libgo/go/net/ipsock_posix.go        (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package net
 
Index: libgo/go/net/lookup_unix.go
===================================================================
--- libgo/go/net/lookup_unix.go (revision 268369)
+++ libgo/go/net/lookup_unix.go (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package net
 
Index: libgo/go/net/nss.go
===================================================================
--- libgo/go/net/nss.go (revision 268369)
+++ libgo/go/net/nss.go (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package net
 
Index: libgo/go/net/port_unix.go
===================================================================
--- libgo/go/net/port_unix.go   (revision 268369)
+++ libgo/go/net/port_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris 
nacl
+// +build aix darwin dragonfly freebsd hurd js,wasm linux netbsd openbsd 
solaris nacl
 
 // Read system port mappings from /etc/services
 
Index: libgo/go/net/sock_cloexec.go
===================================================================
--- libgo/go/net/sock_cloexec.go        (revision 268369)
+++ libgo/go/net/sock_cloexec.go        (working copy)
@@ -5,7 +5,7 @@
 // This file implements sysSocket and accept for platforms that
 // provide a fast path for setting SetNonblock and CloseOnExec.
 
-// +build dragonfly freebsd linux netbsd openbsd
+// +build dragonfly freebsd hurd linux netbsd openbsd
 
 package net
 
Index: libgo/go/net/sock_posix.go
===================================================================
--- libgo/go/net/sock_posix.go  (revision 268369)
+++ libgo/go/net/sock_posix.go  (working copy)
@@ -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 aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris 
windows
+// +build aix darwin dragonfly freebsd hurd linux nacl netbsd openbsd solaris 
windows
 
 package net
 
Index: libgo/go/net/sock_stub.go
===================================================================
--- libgo/go/net/sock_stub.go   (revision 268369)
+++ libgo/go/net/sock_stub.go   (working copy)
@@ -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 aix nacl js,wasm solaris
+// +build aix hurd nacl js,wasm solaris
 
 package net
 
Index: libgo/go/net/sockaddr_posix.go
===================================================================
--- libgo/go/net/sockaddr_posix.go      (revision 268369)
+++ libgo/go/net/sockaddr_posix.go      (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package net
 
Index: libgo/go/net/sockopt_posix.go
===================================================================
--- libgo/go/net/sockopt_posix.go       (revision 268369)
+++ libgo/go/net/sockopt_posix.go       (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris 
windows
 
 package net
 
Index: libgo/go/net/sockoptip_bsdvar.go
===================================================================
--- libgo/go/net/sockoptip_bsdvar.go    (revision 268369)
+++ libgo/go/net/sockoptip_bsdvar.go    (working copy)
@@ -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 aix darwin dragonfly freebsd netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd netbsd openbsd solaris
 
 package net
 
Index: libgo/go/net/sockoptip_posix.go
===================================================================
--- libgo/go/net/sockoptip_posix.go     (revision 268369)
+++ libgo/go/net/sockoptip_posix.go     (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris 
windows
 
 package net
 
Index: libgo/go/net/tcpsock_posix.go
===================================================================
--- libgo/go/net/tcpsock_posix.go       (revision 268369)
+++ libgo/go/net/tcpsock_posix.go       (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package net
 
Index: libgo/go/net/tcpsockopt_posix.go
===================================================================
--- libgo/go/net/tcpsockopt_posix.go    (revision 268369)
+++ libgo/go/net/tcpsockopt_posix.go    (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris 
windows
 
 package net
 
Index: libgo/go/net/tcpsockopt_unix.go
===================================================================
--- libgo/go/net/tcpsockopt_unix.go     (revision 268369)
+++ libgo/go/net/tcpsockopt_unix.go     (working copy)
@@ -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 aix freebsd linux netbsd
+// +build aix freebsd hurd linux netbsd
 
 package net
 
Index: libgo/go/net/udpsock_posix.go
===================================================================
--- libgo/go/net/udpsock_posix.go       (revision 268369)
+++ libgo/go/net/udpsock_posix.go       (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package net
 
Index: libgo/go/net/unixsock_posix.go
===================================================================
--- libgo/go/net/unixsock_posix.go      (revision 268369)
+++ libgo/go/net/unixsock_posix.go      (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package net
 
Index: libgo/go/os/dir_largefile.go
===================================================================
--- libgo/go/os/dir_largefile.go        (revision 268369)
+++ libgo/go/os/dir_largefile.go        (working copy)
@@ -5,7 +5,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build aix linux solaris,386 solaris,sparc
+// +build aix hurd linux solaris,386 solaris,sparc
 
 package os
 
Index: libgo/go/os/dir_regfile.go
===================================================================
--- libgo/go/os/dir_regfile.go  (revision 268369)
+++ libgo/go/os/dir_regfile.go  (working copy)
@@ -6,6 +6,7 @@
 // license that can be found in the LICENSE file.
 
 // +build !aix
+// +build !hurd
 // +build !linux
 // +build !solaris !386
 // +build !solaris !sparc
Index: libgo/go/os/error_posix.go
===================================================================
--- libgo/go/os/error_posix.go  (revision 268369)
+++ libgo/go/os/error_posix.go  (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package os
 
Index: libgo/go/os/error_unix.go
===================================================================
--- libgo/go/os/error_unix.go   (revision 268369)
+++ libgo/go/os/error_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package os
 
Index: libgo/go/os/exec/lp_unix.go
===================================================================
--- libgo/go/os/exec/lp_unix.go (revision 268369)
+++ libgo/go/os/exec/lp_unix.go (working copy)
@@ -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 aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux nacl netbsd openbsd solaris
 
 package exec
 
Index: libgo/go/os/exec_posix.go
===================================================================
--- libgo/go/os/exec_posix.go   (revision 268369)
+++ libgo/go/os/exec_posix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package os
 
Index: libgo/go/os/exec_unix.go
===================================================================
--- libgo/go/os/exec_unix.go    (revision 268369)
+++ libgo/go/os/exec_unix.go    (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package os
 
Index: libgo/go/os/executable_procfs.go
===================================================================
--- libgo/go/os/executable_procfs.go    (revision 268369)
+++ libgo/go/os/executable_procfs.go    (working copy)
@@ -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 linux netbsd dragonfly nacl js,wasm
+// +build hurd linux netbsd dragonfly nacl js,wasm
 
 package os
 
Index: libgo/go/os/file_posix.go
===================================================================
--- libgo/go/os/file_posix.go   (revision 268369)
+++ libgo/go/os/file_posix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package os
 
Index: libgo/go/os/file_unix.go
===================================================================
--- libgo/go/os/file_unix.go    (revision 268369)
+++ libgo/go/os/file_unix.go    (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package os
 
Index: libgo/go/os/path_unix.go
===================================================================
--- libgo/go/os/path_unix.go    (revision 268369)
+++ libgo/go/os/path_unix.go    (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package os
 
Index: libgo/go/os/removeall_at.go
===================================================================
--- libgo/go/os/removeall_at.go (revision 268369)
+++ libgo/go/os/removeall_at.go (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package os
 
Index: libgo/go/os/removeall_noat.go
===================================================================
--- libgo/go/os/removeall_noat.go       (revision 268369)
+++ libgo/go/os/removeall_noat.go       (working copy)
@@ -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 !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
+// +build 
!aix,!darwin,!dragonfly,!freebsd,!hurd,!linux,!netbsd,!openbsd,!solaris
 
 package os
 
Index: libgo/go/os/signal/internal/pty/pty.go
===================================================================
--- libgo/go/os/signal/internal/pty/pty.go      (revision 268369)
+++ libgo/go/os/signal/internal/pty/pty.go      (working copy)
@@ -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 aix darwin dragonfly freebsd linux,!android netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux,!android netbsd openbsd 
solaris
 // +build cgo
 
 // Package pty is a simple pseudo-terminal package for Unix systems,
Index: libgo/go/os/signal/signal_unix.go
===================================================================
--- libgo/go/os/signal/signal_unix.go   (revision 268369)
+++ libgo/go/os/signal/signal_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package signal
 
Index: libgo/go/os/stat_atim.go
===================================================================
--- libgo/go/os/stat_atim.go    (revision 268369)
+++ libgo/go/os/stat_atim.go    (working copy)
@@ -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 linux openbsd solaristag
+// +build hurd linux openbsd solaristag
 
 package os
 
Index: libgo/go/os/stat_unix.go
===================================================================
--- libgo/go/os/stat_unix.go    (revision 268369)
+++ libgo/go/os/stat_unix.go    (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package os
 
Index: libgo/go/os/sys_uname.go
===================================================================
--- libgo/go/os/sys_uname.go    (revision 268369)
+++ libgo/go/os/sys_uname.go    (working copy)
@@ -4,7 +4,7 @@
 
 // For systems which only store the hostname in uname (Solaris).
 
-// +build aix solaris irix rtems
+// +build aix hurd solaris irix rtems
 
 package os
 
Index: libgo/go/os/sys_unix.go
===================================================================
--- libgo/go/os/sys_unix.go     (revision 268369)
+++ libgo/go/os/sys_unix.go     (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package os
 
Index: libgo/go/os/user/cgo_lookup_unix.go
===================================================================
--- libgo/go/os/user/cgo_lookup_unix.go (revision 268369)
+++ libgo/go/os/user/cgo_lookup_unix.go (working copy)
@@ -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 aix darwin dragonfly freebsd !android,linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd !android,linux netbsd openbsd 
solaris
 // +build cgo,!osusergo
 
 package user
Index: libgo/go/os/user/decls_unix.go
===================================================================
--- libgo/go/os/user/decls_unix.go      (revision 268369)
+++ libgo/go/os/user/decls_unix.go      (working copy)
@@ -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 linux netbsd openbsd
+// +build darwin dragonfly freebsd hurd linux netbsd openbsd
 // +build cgo
 
 package user
Index: libgo/go/os/user/listgroups_unix.go
===================================================================
--- libgo/go/os/user/listgroups_unix.go (revision 268369)
+++ libgo/go/os/user/listgroups_unix.go (working copy)
@@ -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 dragonfly darwin freebsd !android,linux netbsd openbsd
+// +build dragonfly darwin freebsd hurd !android,linux netbsd openbsd
 // +build cgo,!osusergo
 
 package user
Index: libgo/go/os/user/lookup_unix.go
===================================================================
--- libgo/go/os/user/lookup_unix.go     (revision 268369)
+++ libgo/go/os/user/lookup_unix.go     (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm !android,linux nacl netbsd 
openbsd solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm !android,linux nacl netbsd 
openbsd solaris
 // +build !cgo osusergo
 
 package user
Index: libgo/go/os/wait_unimp.go
===================================================================
--- libgo/go/os/wait_unimp.go   (revision 268369)
+++ libgo/go/os/wait_unimp.go   (working copy)
@@ -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 aix darwin dragonfly js,wasm nacl netbsd openbsd solaris
+// +build aix darwin dragonfly hurd js,wasm nacl netbsd openbsd solaris
 
 package os
 
Index: libgo/go/path/filepath/path_unix.go
===================================================================
--- libgo/go/path/filepath/path_unix.go (revision 268369)
+++ libgo/go/path/filepath/path_unix.go (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package filepath
 
Index: libgo/go/plugin/plugin_dlopen.go
===================================================================
--- libgo/go/plugin/plugin_dlopen.go    (revision 268369)
+++ libgo/go/plugin/plugin_dlopen.go    (working copy)
@@ -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 linux,cgo darwin,cgo
+// +build linux,cgo darwin,cgo hurd,cgo
 
 package plugin
 
Index: libgo/go/plugin/plugin_stubs.go
===================================================================
--- libgo/go/plugin/plugin_stubs.go     (revision 268369)
+++ libgo/go/plugin/plugin_stubs.go     (working copy)
@@ -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 !linux,!darwin !cgo
+// +build !hurd !linux,!darwin !cgo
 
 package plugin
 
Index: libgo/go/runtime/env_posix.go
===================================================================
--- libgo/go/runtime/env_posix.go       (revision 268369)
+++ libgo/go/runtime/env_posix.go       (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package runtime
 
Index: libgo/go/runtime/lock_sema.go
===================================================================
--- libgo/go/runtime/lock_sema.go       (revision 268369)
+++ libgo/go/runtime/lock_sema.go       (working copy)
@@ -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 aix darwin nacl netbsd openbsd plan9 solaris windows
+// +build aix darwin hurd nacl netbsd openbsd plan9 solaris windows
 
 package runtime
 
Index: libgo/go/runtime/netpoll.go
===================================================================
--- libgo/go/runtime/netpoll.go (revision 268369)
+++ libgo/go/runtime/netpoll.go (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris windows
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris windows
 
 package runtime
 
Index: libgo/go/runtime/signal_gccgo.go
===================================================================
--- libgo/go/runtime/signal_gccgo.go    (revision 268369)
+++ libgo/go/runtime/signal_gccgo.go    (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package runtime
 
Index: libgo/go/runtime/signal_sighandler.go
===================================================================
--- libgo/go/runtime/signal_sighandler.go       (revision 268369)
+++ libgo/go/runtime/signal_sighandler.go       (working copy)
@@ -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 aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux nacl netbsd openbsd solaris
 
 package runtime
 
Index: libgo/go/runtime/signal_unix.go
===================================================================
--- libgo/go/runtime/signal_unix.go     (revision 268369)
+++ libgo/go/runtime/signal_unix.go     (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package runtime
 
Index: libgo/go/syscall/dirent.go
===================================================================
--- libgo/go/syscall/dirent.go  (revision 268369)
+++ libgo/go/syscall/dirent.go  (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package syscall
 
Index: libgo/go/syscall/env_unix.go
===================================================================
--- libgo/go/syscall/env_unix.go        (revision 268369)
+++ libgo/go/syscall/env_unix.go        (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 // Unix environment variables.
 
Index: libgo/go/syscall/errstr.go
===================================================================
--- libgo/go/syscall/errstr.go  (revision 268369)
+++ libgo/go/syscall/errstr.go  (working copy)
@@ -4,6 +4,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build !hurd
 // +build !linux
 
 package syscall
Index: libgo/go/syscall/exec_bsd.go
===================================================================
--- libgo/go/syscall/exec_bsd.go        (revision 268369)
+++ libgo/go/syscall/exec_bsd.go        (working copy)
@@ -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 aix darwin dragonfly freebsd netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd netbsd openbsd solaris
 
 package syscall
 
Index: libgo/go/syscall/forkpipe2.go
===================================================================
--- libgo/go/syscall/forkpipe2.go       (revision 268369)
+++ libgo/go/syscall/forkpipe2.go       (working copy)
@@ -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 freebsd netbsd openbsd
+// +build freebsd hurd netbsd openbsd
 
 package syscall
 
Index: libgo/go/syscall/libcall_posix.go
===================================================================
--- libgo/go/syscall/libcall_posix.go   (revision 268369)
+++ libgo/go/syscall/libcall_posix.go   (working copy)
@@ -9,6 +9,8 @@
 // Note that sometimes we use a lowercase //sys name and
 // wrap it in our own nicer implementation.
 
+// +build !hurd
+
 package syscall
 
 import "unsafe"
Index: libgo/go/syscall/libcall_posix_largefile.go
===================================================================
--- libgo/go/syscall/libcall_posix_largefile.go (revision 268369)
+++ libgo/go/syscall/libcall_posix_largefile.go (working copy)
@@ -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 aix linux solaris,386 solaris,sparc
+// +build aix hurd linux solaris,386 solaris,sparc
 
 // POSIX library calls on systems which use the largefile interface.
 
Index: libgo/go/syscall/libcall_posix_regfile.go
===================================================================
--- libgo/go/syscall/libcall_posix_regfile.go   (revision 268369)
+++ libgo/go/syscall/libcall_posix_regfile.go   (working copy)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build !aix
+// +build !hurd
 // +build !linux
 // +build !solaris !386
 // +build !solaris !sparc
Index: libgo/go/syscall/libcall_posix_utimesnano.go
===================================================================
--- libgo/go/syscall/libcall_posix_utimesnano.go        (revision 268369)
+++ libgo/go/syscall/libcall_posix_utimesnano.go        (working copy)
@@ -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 aix darwin dragonfly freebsd openbsd netbsd solaris
+// +build aix darwin dragonfly freebsd hurd openbsd netbsd solaris
 
 // General POSIX version of UtimesNano.
 
Index: libgo/go/syscall/sockcmsg_unix.go
===================================================================
--- libgo/go/syscall/sockcmsg_unix.go   (revision 268369)
+++ libgo/go/syscall/sockcmsg_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 // Socket control messages
 
Index: libgo/go/syscall/socket_bsd.go
===================================================================
--- libgo/go/syscall/socket_bsd.go      (revision 268369)
+++ libgo/go/syscall/socket_bsd.go      (working copy)
@@ -4,7 +4,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 openbsd netbsd
+// +build darwin dragonfly freebsd hurd openbsd netbsd
 
 package syscall
 
Index: libgo/go/syscall/syscall_unix.go
===================================================================
--- libgo/go/syscall/syscall_unix.go    (revision 268369)
+++ libgo/go/syscall/syscall_unix.go    (working copy)
@@ -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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
 
 package syscall
 
Index: libgo/go/syscall/timestruct.go
===================================================================
--- libgo/go/syscall/timestruct.go      (revision 268369)
+++ libgo/go/syscall/timestruct.go      (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package syscall
 
Index: libgo/go/time/sys_unix.go
===================================================================
--- libgo/go/time/sys_unix.go   (revision 268369)
+++ libgo/go/time/sys_unix.go   (working copy)
@@ -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 aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd 
solaris
+// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd 
solaris
 
 package time
 
Index: libgo/go/time/zoneinfo_unix.go
===================================================================
--- libgo/go/time/zoneinfo_unix.go      (revision 268369)
+++ libgo/go/time/zoneinfo_unix.go      (working copy)
@@ -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 aix darwin,386 darwin,amd64 dragonfly freebsd js,wasm linux,!android 
nacl netbsd openbsd solaris
+// +build aix darwin,386 darwin,amd64 dragonfly freebsd hurd js,wasm 
linux,!android nacl netbsd openbsd solaris
 
 // Parse "zoneinfo" time zone file.
 // This is a fairly standard file format used on OS X, Linux, BSD, Sun, and 
others.
Index: libgo/runtime/env_posix.c
===================================================================
--- libgo/runtime/env_posix.c   (revision 268369)
+++ libgo/runtime/env_posix.c   (working copy)
@@ -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 linux nacl netbsd openbsd solaris windows
+// +build darwin dragonfly freebsd hurd linux nacl netbsd openbsd solaris 
windows
 
 #include "runtime.h"
 #include "array.h"

Reply via email to