gcc/libgo
Ian Lance Taylor f89b66f5ad net: work around Solaris connect issue when server closes socket
On Solaris, if you do a in-progress connect, and then the
server accepts and closes the socket, the client's later
attempt to complete the connect will fail with EINVAL.  Handle
this case by assuming that the connect succeeded.  This code
is weird enough that it is implemented as Solaris-only so that
it doesn't hide a real error on a different OS.

See http://golang.org/issue/6828.

From-SVN: r206232
2013-12-28 18:00:30 +00:00
..
config libgo: Update libtool support for powerpc64le-linux-gnu. 2013-11-22 20:39:46 +00:00
go net: work around Solaris connect issue when server closes socket 2013-12-28 18:00:30 +00:00
runtime runtime: Fix defer of unlock thread at program startup. 2013-12-12 20:13:58 +00:00
testsuite gotest: Recognize PPC ELF v2 function pointers in text section. 2013-11-19 02:14:40 +00:00
aclocal.m4
config.h.in syscall: Only call varargs libc functions from C code. 2013-11-24 02:38:28 +00:00
configure syscall: Only call varargs libc functions from C code. 2013-11-24 02:38:28 +00:00
configure.ac syscall: Only call varargs libc functions from C code. 2013-11-24 02:38:28 +00:00
godeps.sh libgo: Generate dependencies automatically. 2011-12-03 00:16:12 +00:00
LICENSE LICENSE: separate, change PATENTS text. 2010-12-06 22:27:47 +00:00
Makefile.am syscall: Only call varargs libc functions from C code. 2013-11-24 02:38:28 +00:00
Makefile.in syscall: Only call varargs libc functions from C code. 2013-11-24 02:38:28 +00:00
MERGE libgo: Update to current Go library. 2013-11-27 01:05:38 +00:00
merge.sh libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
mksysinfo.sh mksysinfo, net: Always define F_DUPFD_CLOEXEC. 2013-11-11 21:21:50 +00:00
PATENTS LICENSE: separate, change PATENTS text. 2010-12-06 22:27:47 +00:00
README It's a contributor license agreement, not a copyright LA. 2010-12-03 20:41:15 +00:00
README.gcc libgo/README.gcc: Mention GCCGO_RUN_ALL_TESTS. 2011-03-09 19:17:56 +00:00

See ../README.

This is the runtime support library for the Go programming language.
This library is intended for use with the Go frontend.

The library has only been tested on GNU/Linux using glibc.  It should
not be difficult to port to other operating systems.

The library has only been tested on x86/x86_64 systems.  It should not
be difficult to port to other architectures.

Directories:

go
  A copy of the Go library from http://golang.org/, with a few
  changes for gccgo.  Notably, the reflection interface is different.

runtime
  Runtime functions, written in C, which are called directly by the
  compiler or by the library.

syscalls
  System call support.

Contributing
============

To contribute patches to the files in this directory, please see
http://golang.org/doc/gccgo_contribute.html .

The master copy of these files is hosted at
http://code.google.com/p/gofrontend .  Changes to these files require
signing a Google contributor license agreement.  If you are the
copyright holder, you will need to agree to the individual contributor
license agreement at
http://code.google.com/legal/individual-cla-v1.0.html.  This agreement
can be completed online.

If your organization is the copyright holder, the organization will
need to agree to the corporate contributor license agreement at
http://code.google.com/legal/corporate-cla-v1.0.html.

If the copyright holder for your code has already completed the
agreement in connection with another Google open source project, it
does not need to be completed again.