summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/linux/amd64
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý2-0/+16
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý3-14/+65
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý2-10/+10
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-0/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý4-88/+135
2010-06-28Only catch all signals if os/signal package imported.Ian Lance Taylor1-1/+3
Fixes issue 776. R=rsc CC=golang-dev http://codereview.appspot.com/1745041
2010-05-19runtime: avoid allocation for fixed stringsRuss Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/1083041
2010-04-13runtime: better trace for fault due to nil pointer callRuss Cox1-3/+11
R=r CC=golang-dev http://codereview.appspot.com/854048
2010-04-09Run initcgo for all amd64 targets, not just GNU/Linux.Ian Lance Taylor1-7/+0
This is required to make cgo export work on Darwin. Note that this corrects the stack alignment when calling initcgo to that required by gcc on amd64. R=rsc CC=golang-dev http://codereview.appspot.com/907041
2010-04-08runtime: turn divide by zero, nil dereference into panicsRuss Cox2-10/+76
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 Cox2-23/+1
* 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-03-29runtime: Remove unused runtime.write from linux/amd64Christopher Wedgwood1-17/+9
Also minor reformatting. R=rsc CC=golang-dev http://codereview.appspot.com/845041 Committer: Russ Cox <rsc@golang.org>
2010-02-08runtime: instrument malloc + garbage collector.Russ Cox1-0/+15
add simple garbage collection benchmark. R=iant CC=golang-dev http://codereview.appspot.com/204053
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox1-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
2009-12-16runtime: if os/signal is not in use, crash onRuss Cox1-2/+3
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 Symonds1-2/+16
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'Dell1-0/+1
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-11-17FreeBSD-specific porting work.Devon H. O'Dell1-0/+1
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>
2009-11-13runtime: warn about SELinux based mmap failures on Linux.Adam Langley1-2/+3
SELinux will cause mmap to fail when we request w+x memory unless the user has configured their policies. We have a warning in make.bash, but it's quite likely that the policy will be reset at some point and then all their binaries start failing. This patch prints a warning on Linux when mmap fails with EACCES. R=rsc CC=golang-dev http://codereview.appspot.com/152086
2009-10-15rename sys functions to runtime,Russ Cox1-5/+5
because they are in package runtime. another step to enforcing package boundaries. R=r DELTA=732 (114 added, 93 deleted, 525 changed) OCL=35811 CL=35824
2009-08-24start of FFI support, and a demo.Russ Cox1-2/+2
R=r DELTA=494 (492 added, 0 deleted, 2 changed) OCL=33784 CL=33810
2009-08-24linker workRuss Cox1-0/+7
* use //ffi comments in package import data to generate relocation entries and library loads. * call initffi in rt0.s if present R=r DELTA=117 (91 added, 3 deleted, 23 changed) OCL=33739 CL=33750
2009-06-17runtime: stack growth adjustments, cleanupRuss Cox1-30/+11
* keep coherent SP/PC in gobuf (i.e., SP that would be in use at that PC) * gogocall replaces setspgoto, should work better in presence of link registers * delete unused system calls only amd64; 386 is now broken R=r DELTA=548 (183 added, 183 deleted, 182 changed) OCL=30381 CL=30442
2009-06-09mv src/lib to src/pkgRob Pike4-0/+489
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102