summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/freebsd
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý13-1665/+0
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý13-0/+1665
2011-09-13Imported Upstream version 60Ondřej Surý13-1666/+0
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý6-0/+51
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý9-37/+156
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý5-36/+53
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-0/+17
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý4-19/+16
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý14-220/+299
2010-06-28Only catch all signals if os/signal package imported.Ian Lance Taylor2-2/+6
Fixes issue 776. R=rsc CC=golang-dev http://codereview.appspot.com/1745041
2010-05-19runtime: avoid allocation for fixed stringsRuss Cox2-2/+2
R=r CC=golang-dev http://codereview.appspot.com/1083041
2010-05-03runtime: update godefs usage comment for GOARCH=386 GOOS={darwin,freebsd}Giles Lean2-2/+2
When trying to regenerate src/pkg/runtime/darwin/386/defs.h on a 64 bit capable Snow Leopard (OS X 10.6.3) system I needed to add -f -m32 to godefs, as this OS and hardware combination defaults to 64 bit compilation. For safety, make the same change to the 32 bit FreeBSD instructions in .../freebsd/defs.c. (Tested OK and no problems introduced.) R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/1052042 Committer: Russ Cox <rsc@golang.org>
2010-04-13runtime: better trace for fault due to nil pointer callRuss Cox2-6/+22
R=r CC=golang-dev http://codereview.appspot.com/854048
2010-04-08runtime: fix build (panic) for FreeBSDRuss Cox6-7/+101
R=adg CC=golang-dev http://codereview.appspot.com/867046
2010-04-08runtime: turn divide by zero, nil dereference into panicsRuss Cox5-20/+126
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386. freebsd untested; will finish in a separate CL. for now all the panics are errorStrings. richer structures can be added as necessary once the mechanism is shaked out. R=r CC=golang-dev http://codereview.appspot.com/906041
2010-04-05runtime: handle malloc > 2GB correctlyRuss Cox1-6/+6
R=ken2 CC=golang-dev http://codereview.appspot.com/821048
2010-04-05runtime: various arm fixesRuss Cox3-25/+2
* correct symbol table size * do not reorder functions in output * traceback * signal handling * use same code for go + defer * handle leaf functions in symbol table R=kaib, dpx CC=golang-dev http://codereview.appspot.com/884041
2010-02-09runtime: fix FreeBSD buildRuss Cox1-0/+1
stab in the dark but plausible: the kernel does try to return time zone information. http://fxr.watson.org/fxr/source/kern/kern_time.c?v=FREEBSD8#L421 R=iant CC=golang-dev http://codereview.appspot.com/206053
2010-02-08runtime: allow arbitrary return type in SetFinalizer.Russ Cox1-0/+5
finalize chan, to free OS X semaphore inside Lock. os: finalize File, to close fd. Fixes issue 503. R=ken2 CC=golang-dev http://codereview.appspot.com/204065
2010-02-08runtime: instrument malloc + garbage collector.Russ Cox2-0/+32
add simple garbage collection benchmark. R=iant CC=golang-dev http://codereview.appspot.com/204053
2010-02-03os/signal: send SIGCHLDs to IncomingChristopher Wedgwood1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/199082 Committer: Russ Cox <rsc@golang.org>
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox2-5/+5
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2010-01-13runtime cleanup.Russ Cox1-0/+28
* move memory code into $GOOS-specific directory. * allow printing of static strings < 256 bytes. (dynamic strings will bump maxstring as they are allocated.) * use cgo2c for runtime.mal. R=r, dho CC=golang-dev http://codereview.appspot.com/186143
2010-01-06Ported runtime to Windows.Hector Chu1-6/+10
R=rsc CC=golang-dev http://codereview.appspot.com/176066 Committer: Russ Cox <rsc@golang.org>
2009-12-16runtime: if os/signal is not in use, crash onRuss Cox3-19/+21
most signals, so that ordinary programs can be killed, for example. Fixes issue 434. R=dsymonds1 CC=golang-dev, hoisie http://codereview.appspot.com/180064
2009-12-15os/signal: new packageDavid Symonds3-19/+59
Fixes issue 71. R=rsc, r http://codereview.appspot.com/162056 Committer: Russ Cox <rsc@golang.org>
2009-12-08Fix stack on FreeBSD / add stack check across the boardDevon H. O'Dell3-10/+12
FreeBSD was passing stk as the new thread's stack base, while stk is the top of the stack in go. The added check should cause a trap if this ever comes up in any new ports, or regresses in current ones. R=rsc CC=golang-dev http://codereview.appspot.com/167055 Committer: Russ Cox <rsc@golang.org>
2009-12-08When SA_SIGINFO is set, we should use __sa_sigaction on FreeBSDDevon H. O'Dell2-4/+4
R=rsc CC=golang-dev http://codereview.appspot.com/165097 Committer: Russ Cox <rsc@golang.org>
2009-11-20Missed a reference to sc instead of mc in 157065.William Josephson1-1/+1
R=rsc, dho http://codereview.appspot.com/157116 Committer: Russ Cox <rsc@golang.org>
2009-11-20FreeBSD's mcontext isn't exactly the same as sigcontext, soDevon H. O'Dell5-122/+43
we can't use them interchangably. R=rsc, wjosephson CC=golang-dev http://codereview.appspot.com/156113 Committer: Russ Cox <rsc@golang.org>
2009-11-18More FreeBSD-touchups. Thundercats are GOOOOO!Devon H. O'Dell1-8/+6
R=rsc CC=golang-dev http://codereview.appspot.com/157074 Committer: Russ Cox <rsc@golang.org>
2009-11-18Remove unnecessary execute bits.William Josephson1-0/+0
R=rsc http://codereview.appspot.com/156077 Committer: Russ Cox <rsc@golang.org>
2009-11-18Add an intptr type to runtime; needed in FreeBSDDevon H. O'Dell1-1/+1
In thread.c, we need to cast to whatever the native size of intptr is on the system, but we only have uintptr available. They're the same size, but can't do signed casts without this one :). R=rsc CC=golang-dev http://codereview.appspot.com/156073 Committer: Russ Cox <rsc@golang.org>
2009-11-17FreeBSD/i386 workDevon H. O'Dell8-22/+492
This patchset gets Go to pretty much the same state that FreeBSD/amd64 is in. R=rsc http://codereview.appspot.com/157055 Committer: Russ Cox <rsc@golang.org>
2009-11-17FreeBSD-specific porting work.Devon H. O'Dell8-0/+686
cgo/libmach remain unimplemented. However, compilers, runtime, and packages are 100%. I still need to go through and implement missing syscalls (at least make sure they're all listed), but for all shipped functionality, this is done. Ship! ;) R=rsc, VenkateshSrinivas http://codereview.appspot.com/152142 Committer: Russ Cox <rsc@golang.org>