aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/rt1_amd64_linux.c
AgeCommit message (Collapse)Author
2009-03-24move darwin specific code into runtime/darwin/Russ Cox
move darwin-amd64 specific code into runtime/darwin/amd64/ repeat for linux. move rt0 into runtime.a instead of keeping a separate .6 file. 6l seems to have no problem with that. TBR=r OCL=26680 CL=26680
2009-01-27various race conditions.Russ Cox
R=r DELTA=43 (29 added, 5 deleted, 9 changed) OCL=23608 CL=23611
2009-01-26gc #0. mark and sweep collector.Russ Cox
R=r,gri DELTA=472 (423 added, 2 deleted, 47 changed) OCL=23522 CL=23541
2009-01-16casify, cleanup sysRuss Cox
R=r OCL=22978 CL=22984
2008-12-03preparation for exec.Russ Cox
* syscall: add syscall.RawSyscall, which doesn't use sys.entersyscall/sys.exitsyscall add syscall.dup2 add syscall.BytePtrPtr add syscall.Rusage, RusagePtr add syscall.F_GETFD, F_SETFD, FD_CLOEXEC * runtime: clean up, correct signal handling. can now survive (continue running after) a signal. R=r DELTA=394 (286 added, 51 deleted, 57 changed) OCL=20351 CL=20369
2008-11-25change meaning of $GOMAXPROCS to number of cpus to use,Russ Cox
not number of threads. can still starve all the other threads, but only by looping, not by waiting in a system call. fix darwin syscall.Syscall6 bug. fix chanclient bug. delete $GOMAXPROCS from network tests. add stripped down printf, sys.printhex to runtime. R=r DELTA=355 (217 added, 36 deleted, 102 changed) OCL=20017 CL=20019
2008-09-24cleanup; sys.sleep can go.Russ Cox
R=r OCL=15786 CL=15792
2008-09-22test cleanupRuss Cox
- do not print tracebacks if $GOTRACEBACK=0 - set GOTRACEBACK=0 during tests - filter out pc numbers in errors R=r DELTA=70 (22 added, 30 deleted, 18 changed) OCL=15618 CL=15642
2008-09-18proper handling of signals.Russ Cox
do not run init on g0. R=r DELTA=161 (124 added, 23 deleted, 14 changed) OCL=15490 CL=15497
2008-09-13remove special trap-handling code for array out of bounds -Rob Pike
compiler doesn't generate them any more R=ken OCL=15309 CL=15309
2008-09-12fix up linux trap handling - INTB 5 gives SEGVRob Pike
R=rsc OCL=15244 CL=15244
2008-09-12fix silly portability bugRob Pike
R=gri OCL=15238 CL=15238
2008-09-12- catch trace trapsRob Pike
- disassemble the instructions in a trace trap to see if it's a run-time trap - if so, print relevant info - avoid double-printing traceback on panic R=ken,rsc DELTA=66 (50 added, 7 deleted, 9 changed) OCL=15199 CL=15224
2008-09-09go threads for OS XRuss Cox
R=r OCL=14944 CL=15013
2008-08-05kill trailing white space.Russ Cox
(apparently my first attempt didn't work.) R=r OCL=13888 CL=13888
2008-08-05* comment, clean up schedulerRuss Cox
* rewrite lock implementation to be correct (tip: never assume that an algorithm you found in a linux man page is correct.) * delete unneeded void* arg from clone fn * replace Rendez with Note * comment mal better * use 6c -w, fix warnings * mark all assembly functions 7 R=r DELTA=828 (338 added, 221 deleted, 269 changed) OCL=13884 CL=13886
2008-08-04first cut at multithreading. works on Linux.Russ Cox
* kick off new os procs (machs) as needed * add sys·sleep for testing * add Lock, Rendez * properly lock mal, sys·newproc, scheduler * linux syscall arg #4 is in R10, not CX * chans are not multithread-safe yet * multithreading disabled by default; set $gomaxprocs=2 (or 1000) to turn it on This should build on OS X but may not. Rob and I will fix soon after submitting. TBR=r OCL=13784 CL=13842
2008-07-29fix a commentRob Pike
fix a register name R=gri OCL=13548 CL=13548
2008-07-28print tracebacks for all goroutines, not just the crashing oneRob Pike
R=ken OCL=13518 CL=13518
2008-06-30makes stack traces work for segmented stacksRob Pike
SVN=125371
2008-06-25- dump registers in case of signal (linux)Robert Griesemer
SVN=124702
2008-06-24middle dot as alpha package separatorKen Thompson
SVN=124419
2008-06-21more nearly correct interface code for signals on linuxRob Pike
SVN=124021
2008-06-21add signal handling and traceback support therein.Rob Pike
factor the runtime into architecture-dependent and -independent pieces. ditto for the OS dependence. SVN=124020