summaryrefslogtreecommitdiffstats
path: root/libgo/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
* runtime: Don't block SIGTRAP while creating a new thread.ian2013-02-281-0/+6
| | | | | | | Thanks to Uros Bizjak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196362 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/56320ian2013-02-201-3/+4
| | | | | | | | | runtime: Support Solaris AMD64 in lfstack. The address space layout is similar on SPARC64 and AMD64 when running Solaris. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196179 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Do not reserve huge amount of swap on 32 bit architectures.ian2013-02-151-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196088 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Change main in goc2c to return int.ian2013-02-071-1/+1
| | | | | | | From Uros Bizjak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195868 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/56172ian2013-02-051-1/+1
| | | | | | | runtime: Fix argument passed to forcegchelper. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195774 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Correct handling of runtime.Callers skip parameter.ian2013-02-021-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195685 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Correct test for morestack.S.ian2013-02-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195640 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Recognize morestack.S if there is no function name.ian2013-01-311-1/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195634 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Remove confusion about split stack functions in backtrace.ian2013-01-311-2/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195627 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Block signals when creating a new thread.ian2013-01-311-1/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195619 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Don't allocate when doing a backtrace.ian2013-01-311-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195615 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: In backtraces, get inline functions, skip split-stack fns.ian2013-01-307-53/+143
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195591 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update Go library to master revision 15502/229081515358.ian2013-01-306-12/+29
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195569 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update Go library to master revision 15489/921e53d4863c.ian2013-01-2913-161/+475
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: SPARCv9 fixes for lfstack.ian2013-01-291-1/+4
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195534 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/56076ian2013-01-251-2/+11
| | | | | | | runtime: Support sparc64 in lfstack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195479 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/46986ian2013-01-2428-76/+84
| | | | | | | | all: prepend #__USER_LABEL_PREFIX__ to mangled Go symbols For old-fashioned Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195438 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to revision 15193:6fdc1974457c of master library.ian2012-12-2212-223/+517
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194692 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Delete from a nil map is now a no-op.ian2012-12-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194462 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current master library sources.ian2012-12-123-13/+41
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194460 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix build failures with -D_FORTIFY_SOURCE=2.ian2012-12-042-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194116 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: Track fields with tag go:"track".ian2012-11-291-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193945 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current version of master library.ian2012-11-2114-88/+224
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193688 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix use of __atomic_compare_exchange_n: not weak, consistent.ian2012-11-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193581 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: Size of int is now 64 bits on x86_64.ian2012-11-061-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193255 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, libgo: Fixes to prepare for 64-bit int.ian2012-11-068-12/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193254 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: Memcmp routine returns intgo.ian2012-11-061-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193253 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: provide initcontext and fixcontext for NetBSDian2012-11-051-1/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193173 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix reflect.Call support for 64-bit ints.ian2012-11-021-7/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193110 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: More steps toward separating int and intgo.ian2012-11-0154-255/+248
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193059 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime/goc2c: Drop gc support, change int to intgo.ian2012-10-311-155/+38
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193046 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current sources.ian2012-10-2325-790/+1984
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192704 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix __go_symbol_value val argument to backtrace_syminfo.ian2012-10-081-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192194 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Use argv[0] to get executable name for backtrace.ian2012-10-053-1/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192123 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.3.ian2012-10-034-11/+29
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192025 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Better detection of memory allocation request overflow.ian2012-09-284-2/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191841 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: runtime.Caller should succeed even without debug info.ian2012-09-281-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191833 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Use libbacktrace rather than debug/elf registration.ian2012-09-283-77/+151
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191831 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Reject surrogate pairs in range over string.ian2012-09-221-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191638 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: Reject surrogate pair converting int to string.ian2012-09-221-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191636 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Return random number of hash of NaN.ian2012-09-222-6/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191632 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: use sched_getaffinity for runtime.NumCPU() on Linuxian2012-08-101-32/+21
| | | | | | | | | Fixes Go issue 3921 for gccgo. From Shenghou Ma. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190282 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: support NumCPU() on more platformsian2012-08-078-36/+118
| | | | | | | | | Added support for Solaris, Irix, *BSD (including Darwin). Still missing support for RTEMS. Fixes issue 3698 in Go issue tracker. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190197 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.ian2012-07-263-7/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189878 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: correct a logic error in hashmap growth.ian2012-07-231-2/+2
| | | | | | | | | | The bug prevented maps to grow properly to sizes larger than 1.3 million. From Rémy Oudompheng. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189766 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.2 release.ian2012-06-254-5/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188943 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix printing of names in stack dumps.ian2012-06-071-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188297 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Use dl_iterate_phdr to get TLS size.ian2012-06-071-31/+58
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188290 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Comment out code adding TLS size to stack size.ian2012-06-051-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188238 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix call to _dl_get_tls_static_info for i386.ian2012-06-051-1/+26
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188230 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud