gcc/libgo
Ian Lance Taylor 7b9f5ceef1 runtime: don't crash if signal handler info argument is nil
Apparently on Solaris 10 a SA_SIGINFO signal handler can be invoked with
    a nil info argument.  I would not have believed it but I've now seen it
    happen, and the sigaction man page actually says "If the second argument
    is not equal to NULL, it points to a siginfo_t structure...."  So, if
    that happens, don't crash.
    
    Also fix another case where we want to make sure that &T{} does not
    allocate.
    
    Reviewed-on: https://go-review.googlesource.com/33150

From-SVN: r242403
2016-11-14 23:16:04 +00:00
..
config
go runtime: don't crash if signal handler info argument is nil 2016-11-14 23:16:04 +00:00
runtime runtime: don't crash if signal handler info argument is nil 2016-11-14 23:16:04 +00:00
testsuite runtime/internal/sys: new package, API copied from Go 1.7 2016-09-11 13:23:27 +00:00
LICENSE
MERGE libgo: update to Go 1.7.1 release 2016-09-10 13:14:00 +00:00
Makefile.am runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
Makefile.in runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
PATENTS
README
README.gcc
VERSION libgo: update to Go 1.7.1 release 2016-09-10 13:14:00 +00:00
aclocal.m4
config.h.in runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
configure libgo: fix GOARCH_INT64ALIGN for several targets 2016-11-11 14:52:35 +00:00
configure.ac libgo: fix GOARCH_INT64ALIGN for several targets 2016-11-11 14:52:35 +00:00
godeps.sh
match.sh
merge.sh
mkrsysinfo.sh runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
mksigtab.sh runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
mksysinfo.sh re PR go/78172 (gen-sysinfo.go vs AIX cred.h) 2016-11-05 00:21:33 +00:00
mvifdiff.sh
sysinfo.c runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +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.