gcc/libgo
Ian Lance Taylor 05a7d56678 compiler, runtime: Use runtime functions to pass closure value.
This changes the compiler and runtime to not pass a closure
value as the last argument, but to instead pass it via
__go_set_closure and retrieve it via __go_get_closure.  This
eliminates the need for function descriptor wrapper functions.
It will make it possible to retrieve the closure value in a
reflect.MakeFunc function.

From-SVN: r202233
2013-09-03 21:52:37 +00:00
..
config libgo: Update libtool.m4 from upstream to recognize powerpcle. 2013-08-23 01:08:25 +00:00
go compiler, runtime: Use runtime functions to pass closure value. 2013-09-03 21:52:37 +00:00
runtime compiler, runtime: Use runtime functions to pass closure value. 2013-09-03 21:52:37 +00:00
testsuite re PR go/56017 (libgo testsuite does not support cross testing) 2013-02-09 23:02:09 +00:00
LICENSE LICENSE: separate, change PATENTS text. 2010-12-06 22:27:47 +00:00
MERGE libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
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
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
aclocal.m4
config.h.in libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
configure libgo: Update libtool.m4 from upstream to recognize powerpcle. 2013-08-23 01:08:25 +00:00
configure.ac compiler, runtime: Use function descriptors. 2013-06-18 23:49:49 +00:00
godeps.sh libgo: Generate dependencies automatically. 2011-12-03 00:16:12 +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

README

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.