This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgo patch committed: Add system calls
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Ian Lance Taylor <iant at google dot com>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Fri, 18 Oct 2013 14:40:14 +0200
- Subject: Re: libgo patch committed: Add system calls
- Authentication-results: sourceware.org; auth=none
Hello!
> This patch to libgo adds some system calls to the syscall package.
> Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
> Committed to mainline and 4.8 branch, since these calls were in Go
> 1.1.2.
Uros.
Index: runtime/go-nosys.c
===================================================================
--- runtime/go-nosys.c (revision 203810)
+++ runtime/go-nosys.c (working copy)
@@ -47,7 +47,7 @@ accept4 (int sockfd __attribute__ ((unused)),
int
dup3 (int oldfd __attribute__ ((unused)),
int newfd __attribute__ ((unused)),
- int flags __attribtue__ ((unused)))
+ int flags __attribute__ ((unused)))
{
errno = ENOSYS;
return -1;