gcc/libgo
Ian Lance Taylor d76a1885bd runtime: disable split stacks for runtime_printf function under Clang
LLVM's code generator does not currently support split stacks for vararg
functions, so we disable split stacks for the only function that uses this
feature under Clang. This appears to be OK as long as:
- this function only calls non-inlined, internal-linkage (hence no dynamic
  loader) functions compiled with split stacks (i.e. go_vprintf), which can
  allocate more stack space as required;
- this function itself does not occupy more than BACKOFF bytes of stack space
  (see libgcc/config/i386/morestack.S).
These conditions are currently known to be satisfied by Clang on x86-32 and
x86-64. Note that signal handlers receive slightly less stack space than they
would normally do if they happen to be called while this function is being
run. If this turns out to be a problem we could consider increasing BACKOFF.

From-SVN: r211037
2014-05-29 00:03:30 +00:00
..
config
go gofrontend: deduplicate C syscall function declarations 2014-04-17 23:39:23 +00:00
runtime runtime: disable split stacks for runtime_printf function under Clang 2014-05-29 00:03:30 +00:00
testsuite
aclocal.m4
config.h.in mksysinfo: Define CLONE flags. 2014-05-07 21:48:29 +00:00
configure mksysinfo: Define CLONE flags. 2014-05-07 21:48:29 +00:00
configure.ac mksysinfo: Define CLONE flags. 2014-05-07 21:48:29 +00:00
godeps.sh
LICENSE
Makefile.am runtime: ask $GOC rather than $CC for the version and multi-os-directory 2014-05-01 00:35:58 +00:00
Makefile.in runtime: ask $GOC rather than $CC for the version and multi-os-directory 2014-05-01 00:35:58 +00:00
MERGE
merge.sh
mksysinfo.sh mksysinfo: Define some more non-trivial TIOC constants. 2014-05-07 22:22:29 +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.