gcc/libgo
Ian Lance Taylor 79c9f76563 runtime: export cgoCheck functions
The functions cgoCheckPointer and cgoCheckResult are called by code
    generated by cgo. That means that we need to export them using
    go:linkname, as otherwise they are local symbols. The cgo code
    currently uses weak references to only call the symbols if they are
    defined, which is why it has been working--the cgo code has not been
    doing any checks.
    
    Reviewed-on: https://go-review.googlesource.com/80295

From-SVN: r255347
2017-12-02 00:46:00 +00:00
..
config libgo: Update libtool support to files in current GCC trunk. 2014-11-12 03:51:36 +00:00
go runtime: export cgoCheck functions 2017-12-02 00:46:00 +00:00
misc/cgo libgo: update to go1.9 2017-09-14 17:11:35 +00:00
runtime sync/atomic, runtime/internal/atomic: don't assume reads from 0 fail 2017-11-09 21:56:59 +00:00
testsuite libgo: update to go1.9 2017-09-14 17:11:35 +00:00
LICENSE
MERGE libgo: update to go1.9 2017-09-14 17:11:35 +00:00
Makefile.am libgo: fix makefile buglet 2017-11-21 06:19:10 +00:00
Makefile.in libgo: fix makefile buglet 2017-11-21 06:19:10 +00:00
PATENTS
README libgo/README: Minor updates. 2015-03-13 18:53:13 +00:00
README.gcc
VERSION libgo: update to go1.9 2017-09-14 17:11:35 +00:00
aclocal.m4 libgo: fixes for Solaris build 2016-12-13 18:03:45 +00:00
config.h.in libgo, syscall: fix ptrace implementation on MIPS 2017-06-21 21:42:41 +00:00
configure Adapt Solaris 12 references 2017-11-14 18:31:01 +00:00
configure.ac libgo: adapt Solaris 12 references 2017-11-14 14:26:04 +00:00
godeps.sh libgo: update to go1.9 2017-09-14 17:11:35 +00:00
libgo.imp Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
match.sh libgo: update to go1.9 2017-09-14 17:11:35 +00:00
merge.sh libgo: update to go1.9 2017-09-14 17:11:35 +00:00
mkrsysinfo.sh libgo: adapt Solaris 12 references 2017-11-14 14:26:04 +00:00
mksigtab.sh libgo: don't use grep -q in mksigtab.sh 2017-11-22 00:27:29 +00:00
mksysinfo.sh libgo: adapt Solaris 12 references 2017-11-14 14:26:04 +00:00
mvifdiff.sh runtime: introduce mvifdiff.sh script to replace GCC's move-if-change 2014-12-01 01:06:29 +00:00
sysinfo.c re PR go/81324 (libgo does not build with glibc 2.18) 2017-07-18 22:06:31 +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.

This library should not be stripped when it is installed.  Go code
relies on being able to look up file/line information, which comes
from the debugging info using the libbacktrace library.

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

Directories:

go
  A copy of the Go library from http://golang.org/, with several
  changes for gccgo.

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

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.