gcc/libgo
Ian Lance Taylor b0c5dc1655 runtime: Handle allocating memory in cgo/SWIG function.
A function that returns an interface type and returns a value
that requires memory allocation will try to allocate while
appearing to be in a syscall.  This patch lets that work.

From-SVN: r201226
2013-07-24 22:30:25 +00:00
..
config
go net: Only use GNU/Linux unix socket abstract paths on GNU/Linux. 2013-07-24 16:53:17 +00:00
runtime runtime: Handle allocating memory in cgo/SWIG function. 2013-07-24 22:30:25 +00:00
testsuite re PR go/56017 (libgo testsuite does not support cross testing) 2013-02-09 23:02:09 +00:00
aclocal.m4
config.h.in
configure compiler, runtime: Use function descriptors. 2013-06-18 23:49:49 +00:00
configure.ac compiler, runtime: Use function descriptors. 2013-06-18 23:49:49 +00:00
godeps.sh
LICENSE
Makefile.am libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
Makefile.in libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
MERGE libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
merge.sh libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
mksysinfo.sh re PR go/56171 (syscall FAILs on Solaris) 2013-02-11 19:03:04 +00:00
PATENTS
README
README.gcc

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.