Ian Lance Taylor
73e0b984b3
runtime, testing/quick: libffi doesn't handle complex on Alpha.
...
From Uros Bizjak.
From-SVN: r196389
2013-03-01 19:26:43 +00:00
Ian Lance Taylor
0a2f103a45
runtime: Don't block SIGTRAP while creating a new thread.
...
Thanks to Uros Bizjak.
From-SVN: r196362
2013-02-28 21:56:14 +00:00
Ian Lance Taylor
aa777e7a23
re PR go/56320 (Several libgo tests FAIL on 64-bit Solaris/x86)
...
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-20 19:45:10 +00:00
Ian Lance Taylor
3ab98a471c
runtime: Do not reserve huge amount of swap on 32 bit architectures.
...
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-15 18:55:09 +00:00
Ian Lance Taylor
48227088fd
runtime: Change main in goc2c to return int.
...
From Uros Bizjak.
From-SVN: r195868
2013-02-07 22:24:34 +00:00
Ian Lance Taylor
5c9768b360
re PR go/56172 (net FAILs on Solaris)
...
PR go/56172
runtime: Fix argument passed to forcegchelper.
From-SVN: r195774
2013-02-05 23:59:24 +00:00
Ian Lance Taylor
7ebe663e98
runtime: Correct handling of runtime.Callers skip parameter.
...
From-SVN: r195685
2013-02-02 15:11:48 +00:00
Ian Lance Taylor
a1948282e8
runtime: Correct test for morestack.S.
...
From-SVN: r195640
2013-02-01 05:49:14 +00:00
Ian Lance Taylor
cfbafb9a7e
runtime: Recognize morestack.S if there is no function name.
...
From-SVN: r195634
2013-01-31 23:12:42 +00:00
Ian Lance Taylor
7c81527e48
runtime: Remove confusion about split stack functions in backtrace.
...
From-SVN: r195627
2013-01-31 19:44:24 +00:00
Ian Lance Taylor
e259a3f2ca
runtime: Block signals when creating a new thread.
...
From-SVN: r195619
2013-01-31 17:30:28 +00:00
Ian Lance Taylor
422e2fc062
runtime: Don't allocate when doing a backtrace.
...
From-SVN: r195615
2013-01-31 16:41:15 +00:00
Ian Lance Taylor
27741f93ef
runtime: In backtraces, get inline functions, skip split-stack fns.
...
From-SVN: r195591
2013-01-30 22:24:40 +00:00
Ian Lance Taylor
777133fefb
libgo: Update Go library to master revision 15502/229081515358.
...
From-SVN: r195569
2013-01-30 01:37:13 +00:00
Ian Lance Taylor
d6f2922e91
libgo: Update Go library to master revision 15489/921e53d4863c.
...
From-SVN: r195560
2013-01-29 20:52:43 +00:00
Ian Lance Taylor
656e11a924
runtime: SPARCv9 fixes for lfstack.
...
From Rainer Orth.
From-SVN: r195534
2013-01-29 13:58:18 +00:00
Ian Lance Taylor
acc6151f4a
re PR other/56076 (Several 64-bit libgo tests FAIL in read_line_header)
...
PR other/56076
runtime: Support sparc64 in lfstack.
From-SVN: r195479
2013-01-25 23:43:23 +00:00
Ian Lance Taylor
f6b1e65ec3
re PR go/46986 (Go is not supported on Darwin)
...
PR go/46986
all: prepend #__USER_LABEL_PREFIX__ to mangled Go symbols
For old-fashioned Darwin.
From-SVN: r195438
2013-01-24 19:44:23 +00:00
Ian Lance Taylor
409a5e7eb4
libgo: Update to revision 15193:6fdc1974457c of master library.
...
From-SVN: r194692
2012-12-22 01:15:33 +00:00
Ian Lance Taylor
35f33e3802
runtime: Delete from a nil map is now a no-op.
...
From-SVN: r194462
2012-12-12 23:29:10 +00:00
Ian Lance Taylor
a42a906c42
libgo: Update to current master library sources.
...
From-SVN: r194460
2012-12-12 23:13:29 +00:00
Ian Lance Taylor
4731f878b7
runtime: Fix build failures with -D_FORTIFY_SOURCE=2.
...
From-SVN: r194116
2012-12-04 06:18:07 +00:00
Ian Lance Taylor
744c3195ef
compiler, runtime: Track fields with tag go:"track".
...
* 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-29 18:11:17 +00:00
Ian Lance Taylor
fabcaa8df3
libgo: Update to current version of master library.
...
From-SVN: r193688
2012-11-21 07:03:38 +00:00
Ian Lance Taylor
95d89457e2
runtime: Fix use of __atomic_compare_exchange_n: not weak, consistent.
...
From-SVN: r193581
2012-11-17 00:52:22 +00:00
Ian Lance Taylor
8273ed8077
compiler, runtime: Size of int is now 64 bits on x86_64.
...
From-SVN: r193255
2012-11-06 18:46:38 +00:00
Ian Lance Taylor
fb3f38da2a
compiler, libgo: Fixes to prepare for 64-bit int.
...
From-SVN: r193254
2012-11-06 18:28:21 +00:00
Ian Lance Taylor
855a44ee8f
compiler, runtime: Memcmp routine returns intgo.
...
From-SVN: r193253
2012-11-06 18:12:45 +00:00
Ian Lance Taylor
0be1a5898f
runtime: provide initcontext and fixcontext for NetBSD
...
From-SVN: r193173
2012-11-05 17:41:07 +00:00
Ian Lance Taylor
556ea3915a
runtime: Fix reflect.Call support for 64-bit ints.
...
From-SVN: r193110
2012-11-02 23:17:05 +00:00
Ian Lance Taylor
776f27a67f
compiler, runtime: More steps toward separating int and intgo.
...
From-SVN: r193059
2012-11-01 03:02:13 +00:00
Ian Lance Taylor
e212c7f56c
runtime/goc2c: Drop gc support, change int to intgo.
...
From-SVN: r193046
2012-10-31 20:49:53 +00:00
Ian Lance Taylor
4ccad563d2
libgo: Update to current sources.
...
From-SVN: r192704
2012-10-23 04:31:11 +00:00
Ian Lance Taylor
fb521d54f1
runtime: Fix __go_symbol_value val argument to backtrace_syminfo.
...
From-SVN: r192194
2012-10-08 04:29:47 +00:00
Ian Lance Taylor
686750d25d
runtime: Use argv[0] to get executable name for backtrace.
...
From-SVN: r192123
2012-10-05 13:44:40 +00:00
Ian Lance Taylor
bd2e46c825
libgo: Update to Go 1.0.3.
...
From-SVN: r192025
2012-10-03 05:27:36 +00:00
Ian Lance Taylor
ddd06f5372
runtime: Better detection of memory allocation request overflow.
...
From-SVN: r191841
2012-09-28 21:25:20 +00:00
Ian Lance Taylor
92aecb446a
runtime: runtime.Caller should succeed even without debug info.
...
From-SVN: r191833
2012-09-28 17:42:53 +00:00
Ian Lance Taylor
0e56e59065
libgo: Use libbacktrace rather than debug/elf registration.
...
From-SVN: r191831
2012-09-28 14:48:30 +00:00
Ian Lance Taylor
a2383b317b
runtime: Reject surrogate pairs in range over string.
...
From-SVN: r191638
2012-09-22 07:18:45 +00:00
Ian Lance Taylor
1e39ea0812
compiler, runtime: Reject surrogate pair converting int to string.
...
From-SVN: r191636
2012-09-22 06:51:59 +00:00
Ian Lance Taylor
2afc1e0b30
runtime: Return random number of hash of NaN.
...
From-SVN: r191632
2012-09-22 06:06:31 +00:00
Ian Lance Taylor
938ff79ae7
runtime: use sched_getaffinity for runtime.NumCPU() on Linux
...
Fixes Go issue 3921 for gccgo.
From Shenghou Ma.
From-SVN: r190282
2012-08-10 06:08:11 +00:00
Ian Lance Taylor
233115eaf5
runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin).
...
runtime: support NumCPU() on more platforms
Added support for Solaris, Irix, *BSD (including Darwin).
Still missing support for RTEMS.
Fixes issue 3698 in Go issue tracker.
From-SVN: r190197
2012-08-07 04:42:49 +00:00
Ian Lance Taylor
1fae9801e4
runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.
...
From-SVN: r189878
2012-07-26 01:57:04 +00:00
Ian Lance Taylor
0abcd2ef51
runtime: correct a logic error in hashmap growth.
...
The bug prevented maps to grow properly to sizes
larger than 1.3 million.
From Rémy Oudompheng.
From-SVN: r189766
2012-07-23 03:57:28 +00:00
Ian Lance Taylor
08a680a887
libgo: Update to Go 1.0.2 release.
...
From-SVN: r188943
2012-06-25 16:20:03 +00:00
Ian Lance Taylor
f3dbbfcedf
runtime: Fix printing of names in stack dumps.
...
From-SVN: r188297
2012-06-07 06:34:52 +00:00
Ian Lance Taylor
0d7afaa749
runtime: Use dl_iterate_phdr to get TLS size.
...
From-SVN: r188290
2012-06-07 00:55:20 +00:00
Ian Lance Taylor
9bb40b3b23
runtime: Comment out code adding TLS size to stack size.
...
From-SVN: r188238
2012-06-05 13:12:13 +00:00