gcc/libgo
Ian Lance Taylor 931f434a72 re PR go/66904 (cmd/go: "#cgo pkg-config:" comments do not work with gccgo)
PR go/66904
    cmd/go: fix "#cgo pkg-config:" comments with gccgo
    
    Copy of https://golang.org/cl/18790 by Michael Hudson-Doyle.
    
    The unique difficulty of #cgo pkg-config is that the linker flags are recorded
    when the package is compiled but (obviously) must be used when the package is
    linked into an executable -- so the flags need to be stored on disk somewhere.
    As it happens cgo already writes out a _cgo_flags file: nothing uses it
    currently, but this change adds it to the lib$pkg.a file when compiling a
    package, reads it out when linking (and passes a version of the .a file with
    _cgo_flags stripped out of it to the linker). It's all fairly ugly but it works
    and I can't really think of any way of reducing the essential level of
    ugliness.
    
    Update golang/go#11739.
    GCC PR 66904.

    Reviewed-on: https://go-review.googlesource.com/19431

From-SVN: r233290
2016-02-10 18:30:27 +00:00
..
config
go re PR go/66904 (cmd/go: "#cgo pkg-config:" comments do not work with gccgo) 2016-02-10 18:30:27 +00:00
runtime re PR go/69511 (G.gcstack_size uses uintptr instead of size_t) 2016-02-10 02:16:04 +00:00
testsuite re PR go/68980 (ps -o cmd in gotest isn't portable) 2016-01-11 17:55:39 +00:00
aclocal.m4 libgo: don't provide ustat on arm64 GNU/Linux 2015-09-15 03:43:01 +00:00
config.h.in libgo: Use __USING_SJLJ_EXCEPTIONS__ rather than configure test. 2015-05-16 00:17:46 +00:00
configure libgo: bump version number for upgrade to 1.6rc1 2016-02-04 22:54:20 +00:00
configure.ac libgo: bump version number for upgrade to 1.6rc1 2016-02-04 22:54:20 +00:00
godeps.sh
LICENSE
Makefile.am libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
Makefile.in libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
MERGE libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
merge.sh runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mksysinfo.sh syscall: Add definition for NLA_HDRLEN 2015-12-18 01:15:37 +00:00
mvifdiff.sh
PATENTS
README
README.gcc
VERSION libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +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.

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.