aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/cgo
AgeCommit message (Collapse)Author
2012-06-05cgo: enable cgo on netbsd/386 and netbsd/amd64Joel Sing
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6261056
2012-05-04runtime: cgo support for Linux/ARMShenghou Ma
Part 2 of CL 5601044 (cgo: Linux/ARM support) R=dave, rsc CC=golang-dev https://golang.org/cl/5989057
2012-03-14runtime/cgo: linux signal maskingMikio Hara
Fixes #3314. Fixes #3101 (again). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5820047
2012-03-14runtime/cgo: darwin signal maskingMikio Hara
Fixes #3101 (again). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5825043
2012-02-22runtime: fix FreeBSD signal handling around thread creationDevon H. O'Dell
Ignore signals while we are spawning a new thread. Previously, a signal arriving just before runtime.minit setting up the signal handler triggers a "double fault" in signal trampolining. Fixes #3017. R=rsc, mikioh.mikioh, minux.ma, adg CC=golang-dev https://golang.org/cl/5684060
2012-02-21runtime: remove an obsolete fileMikio Hara
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5686049
2012-02-08runtime/cgo: silence warning on windowsRob Pike
It appears to want a * on an indirect function call (assembly language) TBR=rsc R=golang-dev CC=golang-dev https://golang.org/cl/5643054
2012-01-30build: remove Make.pkg, Make.toolRuss Cox
Consequently, remove many package Makefiles, and shorten the few that remain. gomake becomes 'go tool make'. Turn off test phases of run.bash that do not work, flagged with $BROKEN. Future CLs will restore these, but this seemed like a big enough CL already. R=golang-dev, r CC=golang-dev https://golang.org/cl/5601057
2012-01-19doc: update out-of-date comments about runtime/cgoShenghou Ma
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5532100
2012-01-09windows: use ArbitraryUserPointer as TLS slotWei Guangjing
R=hectorchu, alex.brainman CC=golang-dev https://golang.org/cl/5519054
2011-12-21runtime: silence darwin/386 build warningsRuss Cox
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5502056
2011-12-21build: multiple fixes to make "go install" work on windowsAlex Brainman
R=rsc CC=golang-dev https://golang.org/cl/5502054
2011-12-20build: a round of fixesRuss Cox
TBR=r CC=golang-dev https://golang.org/cl/5503052
2011-12-20runtime/cgo: fix buildRuss Cox
Two forgotten renames from last CL. TBR=r CC=golang-dev https://golang.org/cl/5502046
2011-12-20go: build runtime/cgoRuss Cox
Also rename -v to -x in the build and install commands, to match the flag in go test (which we can't change because -v is taken). Matches sh -x anyway. R=r, iant, ality CC=golang-dev https://golang.org/cl/5504045
2011-12-07ld: increase default stack size on Windows for cgoDmitriy Vyukov
Fixes #2437. R=rsc, hectorchu, mattn.jp, alex.brainman, jdpoirier, snaury, n13m3y3r CC=golang-dev https://golang.org/cl/5371049
2011-11-09cgo: fix g0 stack guardDmitriy Vyukov
Fixes crash when cgo consumes more than 8K of stack and makes a callback. Fixes #1328. R=golang-dev, rogpeppe, rsc CC=golang-dev, mpimenov https://golang.org/cl/5371042
2011-11-07runtime/cgo: fix data declaration to be externRuss Cox
Otherwise some OS X toolchains complain about the redeclaration of libcgo_thread_start by multiple object files. The real definition is in util.c. Fixes #2167. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5364045
2011-10-06build: clear execute bit from source filesMikio Hara
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5201042
2011-10-06cgo: support for mingw-w64 4.5.1 and newerWei Guangjing
R=rsc, jp, hectorchu CC=golang-dev https://golang.org/cl/4962051
2011-08-31cgo: note that CString result must be freedGustavo Niemeyer
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4968054
2011-08-26cgo: fixes callback for windows amd64Wei Guangjing
R=rsc CC=golang-dev https://golang.org/cl/4826041
2011-08-10build: allow builds without cgoRuss Cox
R=bradfitz, dsymonds, fshahriar CC=golang-dev https://golang.org/cl/4859043
2011-08-08runtime: openbsd amd64 runtime supportJoel Sing
Add support for the go runtime on openbsd/amd64. This is based on the existing freebsd runtime. Threads are implemented using OpenBSD's rthreads, which are currently disabled by default, however can be enabled via the kern.rthreads sysctl. For now, cgo is disabled. R=rsc CC=golang-dev https://golang.org/cl/4815067
2011-07-19cgo: windows amd64 portWei Guangjing
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4725041
2011-06-29runtime: windows/amd64 portWei Guangjing
R=rsc, alex.brainman, hectorchu, r CC=golang-dev https://golang.org/cl/3759042
2011-06-28runtime/cgo: fix buildMikio Hara
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4629082
2011-06-28runtime/cgo: check for errors from pthread_createAlbert Strasheim
R=rsc, iant, dvyukov CC=golang-dev https://golang.org/cl/4643057
2011-06-20build: exclude packages that fail on Plan 9 (for now)Anthony Martin
All but two packages depend on net: debug/proc os/signal With this change, we can produce a working build with GOOS=plan9. R=golang-dev, r CC=golang-dev https://golang.org/cl/4639053
2011-06-16runtime/cgo: fix for OS X 10.7Russ Cox
Correct a few error messages (libcgo -> runtime/cgo) and delete old nacl_386.c file too. Fixes #1657. R=iant CC=golang-dev https://golang.org/cl/4603057
2011-05-02runtime: maybe fix Windows build broken by cgo setenv CLBrad Fitzpatrick
R=rsc CC=golang-dev https://golang.org/cl/4428078
2011-05-02os: make Setenv update C environment variablesBrad Fitzpatrick
Fixes #1569 R=rsc, bradfitzwork CC=golang-dev https://golang.org/cl/4456045
2011-01-29runtime/cgo: fix cross-compiling windows packagesAlex Brainman
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4073043
2011-01-20cgo: windows/386 portWei Guangjing
R=rsc, peterGo, brainman CC=golang-dev https://golang.org/cl/3733046
2011-01-14runtime/cgo: Don't define crosscall2 in dummy _cgo_main.c.Ian Lance Taylor
In this specific package crosscall2 is already defined in a .S file anyhow. This avoids a warning about mismatched alignment. R=rsc CC=golang-dev https://golang.org/cl/4000043
2011-01-11runtime/cgo: Add callbacks to support SWIG.Ian Lance Taylor
R=rsc, iant2, r CC=golang-dev https://golang.org/cl/3886041
2011-01-06runtime/cgo: fix stackguard on FreeBSD/amd64Anthony Martin
A cursory reading of the cgo code suggests this should be necessary, though I don't have access to a FreeBSD machine for testing. R=rsc, adg CC=golang-dev https://golang.org/cl/3746047
2010-12-17fix cgo buildRuss Cox
R=r CC=golang-dev https://golang.org/cl/3750041
2010-12-17misc/cgo/life: fix, add to buildRuss Cox
#pragma dynexport is no longer needed for this use of cgo, since the gcc and gc code are now linked together into the same binary. It may still be necessary later. On the Mac, you cannot use the GOT to resolve symbols that exist in the current binary, so 6l and 8l translate the GOT-loading mov instructions into lea instructions. On ELF systems, we could use the GOT for those symbols, but for consistency 6l and 8l apply the same translation. The translation is sketchy in the extreme (depending on the relocation being in a mov instruction) but it verifies that the instruction is a mov before rewriting it to lea. Also makes typedefs global across files. Fixes #1335. Fixes #1345. R=iant, r CC=golang-dev https://golang.org/cl/3650042
2010-12-15fix freebsd buildRuss Cox
R=iant, r CC=dho, golang-dev https://golang.org/cl/3687041
2010-12-08arm: more fixesRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/3523041
2010-12-08runtime/cgo: adapt files copied from libcgoRuss Cox
Necessary but not sufficient step toward making those builds work. R=r CC=golang-dev https://golang.org/cl/3411043
2010-12-08libcgo: delete (replaced by runtime/cgo)Russ Cox
Move unported files (freebsd*, windows*, nacl*) to runtime/cgo. Step toward fixing FreeBSD build. R=r TBR=r CC=golang-dev https://golang.org/cl/3497042
2010-12-08runtime/cgo: take 2Russ Cox
This is a second attempt at submitting https://golang.org/cl/3420043 A Mercurial problem lost the new files in that submit. TBR=r CC=golang-dev https://golang.org/cl/3511043