Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-11-14 | runtime: Add netpoll code that uses select. | Ian Lance Taylor | 6 | -2/+247 | |
Required for Solaris support. From-SVN: r204817 | |||||
2013-11-14 | runtime: Fix GC flag in when allocating memory from cgo. | Ian Lance Taylor | 1 | -1/+1 | |
From-SVN: r204815 | |||||
2013-11-09 | runtime: Correct flag (FlagNoGC => FlagNoInvokeGC). | Ian Lance Taylor | 1 | -1/+1 | |
From-SVN: r204617 | |||||
2013-11-07 | runtime: Fixes for Alpha. | Ian Lance Taylor | 2 | -1/+4 | |
From-SVN: r204551 | |||||
2013-11-06 | libgo: Update to October 24 version of master library. | Ian Lance Taylor | 46 | -1318/+2062 | |
From-SVN: r204466 | |||||
2013-10-18 | runtime: Fix typo in dup3 fallback implementation. | Ian Lance Taylor | 1 | -1/+1 | |
From Uros Bizjak. From-SVN: r203820 | |||||
2013-10-17 | syscall: Add Dup3, {Get,List,Remove,Set}xattr, {Get,Set}priority. | Ian Lance Taylor | 1 | -0/+57 | |
From-SVN: r203788 | |||||
2013-10-16 | runtime: Fix build on systems without split stack. | Ian Lance Taylor | 1 | -0/+2 | |
From Uros Bizjak. From-SVN: r203703 | |||||
2013-10-14 | runtime: Don't clobber saved context when catching signal. | Ian Lance Taylor | 1 | -2/+3 | |
From-SVN: r203577 | |||||
2013-10-11 | runtime: Report len out of range for large len when making slice. | Ian Lance Taylor | 1 | -1/+4 | |
From-SVN: r203401 | |||||
2013-10-09 | compiler, runtime: Fix complex division of NaN / 0. | Ian Lance Taylor | 1 | -0/+46 | |
From-SVN: r203331 | |||||
2013-10-09 | runtime: Do not report thunks and recover functions in backtrace. | Ian Lance Taylor | 1 | -0/+15 | |
From-SVN: r203294 | |||||
2013-10-02 | runtime: Fix append of slice with elements of zero size. | Ian Lance Taylor | 1 | -6/+6 | |
From-SVN: r203140 | |||||
2013-09-03 | compiler, runtime: Use runtime functions to pass closure value. | Ian Lance Taylor | 5 | -20/+36 | |
This changes the compiler and runtime to not pass a closure value as the last argument, but to instead pass it via __go_set_closure and retrieve it via __go_get_closure. This eliminates the need for function descriptor wrapper functions. It will make it possible to retrieve the closure value in a reflect.MakeFunc function. From-SVN: r202233 | |||||
2013-07-24 | runtime: Handle allocating memory in cgo/SWIG function. | Ian Lance Taylor | 1 | -2/+19 | |
A function that returns an interface type and returns a value that requires memory allocation will try to allocate while appearing to be in a syscall. This patch lets that work. From-SVN: r201226 | |||||
2013-07-24 | runtime: Check _end rather than end to find end of program. | Ian Lance Taylor | 1 | -2/+2 | |
This fixes a problem on Solaris, where end is not defined in the main program but comes from some shared library. This only matters for 32-bit targets. From-SVN: r201220 | |||||
2013-07-24 | runtime: Move new 1.1.1 functions from thread-linux.c to runtime.c. | Ian Lance Taylor | 2 | -46/+47 | |
This way they are compiled on non-GNU/Linux systems. From-SVN: r201209 | |||||
2013-07-23 | runtime: Declare epoll_create1 if necessary. | Ian Lance Taylor | 1 | -0/+4 | |
From-SVN: r201181 | |||||
2013-07-23 | runtime: Support cgo callbacks from threads started by C. | Ian Lance Taylor | 5 | -20/+131 | |
This adjusts the extram support to work with gccgo. There are some corresponding changes to cgo in https://codereview.appspot.com/11406047/ . From-SVN: r201179 | |||||
2013-07-23 | runtime: Ignore SIGPROF if not on a Go thread. | Ian Lance Taylor | 1 | -6/+7 | |
From-SVN: r201154 | |||||
2013-07-16 | runtime: Fix build on non-split-stack systems. | Ian Lance Taylor | 1 | -2/+6 | |
From-SVN: r200983 | |||||
2013-07-16 | libgo: Update to Go 1.1.1. | Ian Lance Taylor | 39 | -1354/+4078 | |
From-SVN: r200974 | |||||
2013-06-18 | compiler, runtime: Use function descriptors. | Ian Lance Taylor | 7 | -26/+55 | |
This changes the representation of a Go value of function type from being a pointer to function code (like a C function pointer) to being a pointer to a struct. The first field of the struct points to the function code. The remaining fields, if any, are the addresses of variables referenced in enclosing functions. For each call to a function, the address of the function descriptor is passed as the last argument. This lets us avoid generating trampolines, and removes the use of writable/executable sections of the heap. From-SVN: r200181 | |||||
2013-03-01 | runtime, testing/quick: libffi doesn't handle complex on Alpha. | Ian Lance Taylor | 1 | -1/+11 | |
From Uros Bizjak. From-SVN: r196389 | |||||
2013-02-28 | runtime: Don't block SIGTRAP while creating a new thread. | Ian Lance Taylor | 1 | -0/+6 | |
Thanks to Uros Bizjak. From-SVN: r196362 | |||||
2013-02-20 | re PR go/56320 (Several libgo tests FAIL on 64-bit Solaris/x86) | Ian Lance Taylor | 1 | -3/+4 | |
PR go/56320 runtime: Support Solaris AMD64 in lfstack. The address space layout is similar on SPARC64 and AMD64 when running Solaris. From-SVN: r196179 | |||||
2013-02-15 | runtime: Do not reserve huge amount of swap on 32 bit architectures. | Ian Lance Taylor | 1 | -1/+9 | |
The mmap() call which reserves the arena should have MAP_NORESERVE flag as in typical cases this memory will never be (fully) needed. This matters in environments which do not do Linux style memory overcommit, such as OpenIndiana/OpenSolaris/Solaris. The MAP_NORESERVE flag does not exist on all operating systems (for example FreeBSD). Therefore we define it to zero value in case it does not exist. Fixes issue 21. From-SVN: r196088 | |||||
2013-02-07 | runtime: Change main in goc2c to return int. | Ian Lance Taylor | 1 | -1/+1 | |
From Uros Bizjak. From-SVN: r195868 | |||||
2013-02-05 | re PR go/56172 (net FAILs on Solaris) | Ian Lance Taylor | 1 | -1/+1 | |
PR go/56172 runtime: Fix argument passed to forcegchelper. From-SVN: r195774 | |||||
2013-02-02 | runtime: Correct handling of runtime.Callers skip parameter. | Ian Lance Taylor | 1 | -2/+3 | |
From-SVN: r195685 | |||||
2013-02-01 | runtime: Correct test for morestack.S. | Ian Lance Taylor | 1 | -1/+1 | |
From-SVN: r195640 | |||||
2013-01-31 | runtime: Recognize morestack.S if there is no function name. | Ian Lance Taylor | 1 | -1/+12 | |
From-SVN: r195634 | |||||
2013-01-31 | runtime: Remove confusion about split stack functions in backtrace. | Ian Lance Taylor | 1 | -2/+10 | |
From-SVN: r195627 | |||||
2013-01-31 | runtime: Block signals when creating a new thread. | Ian Lance Taylor | 1 | -1/+13 | |
From-SVN: r195619 | |||||
2013-01-31 | runtime: Don't allocate when doing a backtrace. | Ian Lance Taylor | 1 | -2/+8 | |
From-SVN: r195615 | |||||
2013-01-30 | runtime: In backtraces, get inline functions, skip split-stack fns. | Ian Lance Taylor | 7 | -53/+143 | |
From-SVN: r195591 | |||||
2013-01-30 | libgo: Update Go library to master revision 15502/229081515358. | Ian Lance Taylor | 6 | -12/+29 | |
From-SVN: r195569 | |||||
2013-01-29 | libgo: Update Go library to master revision 15489/921e53d4863c. | Ian Lance Taylor | 13 | -161/+475 | |
From-SVN: r195560 | |||||
2013-01-29 | runtime: SPARCv9 fixes for lfstack. | Ian Lance Taylor | 1 | -1/+4 | |
From Rainer Orth. From-SVN: r195534 | |||||
2013-01-25 | re PR other/56076 (Several 64-bit libgo tests FAIL in read_line_header) | Ian Lance Taylor | 1 | -2/+11 | |
PR other/56076 runtime: Support sparc64 in lfstack. From-SVN: r195479 | |||||
2013-01-24 | re PR go/46986 (Go is not supported on Darwin) | Ian Lance Taylor | 28 | -76/+84 | |
PR go/46986 all: prepend #__USER_LABEL_PREFIX__ to mangled Go symbols For old-fashioned Darwin. From-SVN: r195438 | |||||
2012-12-22 | libgo: Update to revision 15193:6fdc1974457c of master library. | Ian Lance Taylor | 12 | -223/+517 | |
From-SVN: r194692 | |||||
2012-12-12 | runtime: Delete from a nil map is now a no-op. | Ian Lance Taylor | 1 | -1/+1 | |
From-SVN: r194462 | |||||
2012-12-12 | libgo: Update to current master library sources. | Ian Lance Taylor | 3 | -13/+41 | |
From-SVN: r194460 | |||||
2012-12-04 | runtime: Fix build failures with -D_FORTIFY_SOURCE=2. | Ian Lance Taylor | 2 | -2/+8 | |
From-SVN: r194116 | |||||
2012-11-29 | compiler, runtime: Track fields with tag go:"track". | Ian Lance Taylor | 1 | -0/+101 | |
* go-gcc.cc: Include "output.h". (global_variable): Add is_unique_section parameter. (global_variable_set_init): Adjust unique section if necessary. * Make-lang.in (go/go-gcc.o): Add dependency on output.h. From-SVN: r193945 | |||||
2012-11-21 | libgo: Update to current version of master library. | Ian Lance Taylor | 14 | -88/+224 | |
From-SVN: r193688 | |||||
2012-11-17 | runtime: Fix use of __atomic_compare_exchange_n: not weak, consistent. | Ian Lance Taylor | 1 | -1/+1 | |
From-SVN: r193581 | |||||
2012-11-06 | compiler, runtime: Size of int is now 64 bits on x86_64. | Ian Lance Taylor | 1 | -2/+2 | |
From-SVN: r193255 | |||||
2012-11-06 | compiler, libgo: Fixes to prepare for 64-bit int. | Ian Lance Taylor | 8 | -12/+13 | |
From-SVN: r193254 |