aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-02-07 02:22:57 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-02-07 02:22:57 +0000
commit9fa4b2aa45d3ceec8f13cc6b1415a84d13254018 (patch)
treee86559564cc8a2dd7405553b4fe28b9862159f3c
parent3a3dc1d3a04cd353920317e759d04b4fbb89a82f (diff)
downloadgcc-9fa4b2aa45d3ceec8f13cc6b1415a84d13254018.zip
gcc-9fa4b2aa45d3ceec8f13cc6b1415a84d13254018.tar.gz
gcc-9fa4b2aa45d3ceec8f13cc6b1415a84d13254018.tar.bz2
internal/syscall/unix: add constants for hurd
Patch by Svante Signell. Reviewed-on: https://go-review.googlesource.com/c/161517 From-SVN: r268602
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--libgo/go/internal/syscall/unix/at_sysnum_hurd.go8
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 63499b3..8c57e16 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-d89db31db68d09aa13a6137122cc096c1d92597b
+77f0f28af556f50c561ff5c2cca17ad6f985068e
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/libgo/go/internal/syscall/unix/at_sysnum_hurd.go b/libgo/go/internal/syscall/unix/at_sysnum_hurd.go
new file mode 100644
index 0000000..223eb42
--- /dev/null
+++ b/libgo/go/internal/syscall/unix/at_sysnum_hurd.go
@@ -0,0 +1,8 @@
+// Copyright 2019 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.
+
+package unix
+
+const AT_REMOVEDIR = 0x200
+const AT_SYMLINK_NOFOLLOW = 0x100