gcc/libgo
Ian Lance Taylor 3ab98a471c runtime: Do not reserve huge amount of swap on 32 bit architectures.
The mmap() call which reserves the arena should have MAP_NORESERVE
flag as in typical cases this memory will never be (fully) needed.
This matters in environments which do not do Linux style memory
overcommit, such as OpenIndiana/OpenSolaris/Solaris.

The MAP_NORESERVE flag does not exist on all operating systems
(for example FreeBSD). Therefore we define it to zero value in
case it does not exist.

Fixes issue 21.

From-SVN: r196088
2013-02-15 18:55:09 +00:00
..
config re PR bootstrap/39150 (Configure scripts have no 64-Bit Solaris defined (only i386-solaris*).) 2011-07-07 09:24:16 +00:00
go compiler, libgo: Permit testing package when test imports it circularly. 2013-02-10 06:02:38 +00:00
runtime runtime: Do not reserve huge amount of swap on 32 bit architectures. 2013-02-15 18:55:09 +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 libgo: Update Go library to master revision 15489/921e53d4863c. 2013-01-29 20:52:43 +00:00
configure re PR go/56171 (syscall FAILs on Solaris) 2013-02-11 19:03:04 +00:00
configure.ac re PR go/56171 (syscall FAILs on Solaris) 2013-02-11 19:03:04 +00:00
godeps.sh libgo: Generate dependencies automatically. 2011-12-03 00:16:12 +00:00
LICENSE
Makefile.am re PR go/56171 (syscall FAILs on Solaris) 2013-02-11 19:03:04 +00:00
Makefile.in re PR go/56171 (syscall FAILs on Solaris) 2013-02-11 19:03:04 +00:00
MERGE libgo: Update Go library to master revision 15502/229081515358. 2013-01-30 01:37:13 +00:00
merge.sh libgo: Update to revision 15193:6fdc1974457c of master library. 2012-12-22 01:15:33 +00:00
mksysinfo.sh re PR go/56171 (syscall FAILs on Solaris) 2013-02-11 19:03:04 +00:00
PATENTS
README
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.