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
ee6440f8d8
libgo: Add no-dist and -Wno-portability to AM_INIT_AUTOMAKE.
...
From-SVN: r191575
2012-09-20 16:32:27 +00:00
Ian Lance Taylor
a85cfff41d
debug/elf, debug/dwarf: DWARF line number fixes.
...
Support DW_AT_high_pc as a constant.
Support DW_AT_ranges.
PR gcc/52583
From-SVN: r191008
2012-09-06 05:28:02 +00:00
Ian Lance Taylor
c92900d1db
compiler: Remove old handling of unsafe.Pointer in type assertions.
...
Fixes issue 17.
From-SVN: r190608
2012-08-23 00:20:48 +00:00
Ian Lance Taylor
e162e288ec
mksysinfo: Fix syscall.F_GETLK and friends for 32-bit x86.
...
From-SVN: r190554
2012-08-21 05:29:30 +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
5ede5aa54e
mksysinfo.sh: Fix handling of glibc 2.16 bits/resource.h.
...
From Jakub Jelinek.
From-SVN: r189372
2012-07-09 11:13:49 +00:00
Ian Lance Taylor
25bab91e01
gotest: Only look in data segment for ppc64, not ppc*.
...
From Andreas Schwab.
From-SVN: r188944
2012-06-25 16:26:27 +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
c789c04510
compiler, reflect: Quote package path with tabs.
...
From-SVN: r188548
2012-06-14 05:04:04 +00:00
Ian Lance Taylor
d71ec0cdd6
libgo: Make the subdirectory in the CHECK target.
...
From Andreas Schwab.
From-SVN: r188547
2012-06-14 04:47:45 +00:00
Ian Lance Taylor
73b5b93a59
os/user: Use Entersyscall.
...
From-SVN: r188496
2012-06-13 05:56:09 +00:00
Ian Lance Taylor
57d195e224
os: Use Entersyscall when reading directories.
...
From-SVN: r188494
2012-06-13 04:47:25 +00:00
Ian Lance Taylor
9690ac05c9
compiler, reflect: Handle package path like gc compiler.
...
From-SVN: r188482
2012-06-12 20:33:22 +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
Ian Lance Taylor
44072af5b0
runtime: Fix call to _dl_get_tls_static_info for i386.
...
From-SVN: r188230
2012-06-05 06:19:19 +00:00
Ian Lance Taylor
70b9f51628
mksysinfo: Fix for recent change to glibc <sys/resource.h>.
...
From-SVN: r188228
2012-06-05 05:32:54 +00:00
Ian Lance Taylor
7bea4023f2
runtime: Better SWIG interface for allocating Go memory from C/C++.
...
From-SVN: r188164
2012-06-04 05:34:59 +00:00
Ian Lance Taylor
d4dc840de4
runtime: More efficient implementation of trampolines.
...
From-SVN: r187899
2012-05-25 21:51:39 +00:00
Ian Lance Taylor
e5159e6070
runtime: Fix cast error in print.c on 32-bit systems.
...
From-SVN: r187889
2012-05-25 18:22:01 +00:00
Ian Lance Taylor
bac564c53e
runtime: Make runtime.Stack actually work.
...
From-SVN: r187854
2012-05-24 21:07:18 +00:00
Ian Lance Taylor
9e65cec2fd
runtime: Correct definition of __go_file_line to match declaration.
...
From Rainer Orth.
From-SVN: r187851
2012-05-24 20:47:09 +00:00
Ian Lance Taylor
41f9e67527
runtime: Copy runtime_printf from other Go library.
...
From-SVN: r187850
2012-05-24 20:45:37 +00:00
Ian Lance Taylor
86ba147f54
runtime: Copy runtime_printf from other Go library.
...
From-SVN: r187848
2012-05-24 20:44:34 +00:00
Ian Lance Taylor
4579805199
runtime: Tweak runtime.Callers for Go 1 compatibility.
...
From-SVN: r187781
2012-05-22 21:52:56 +00:00
Ian Lance Taylor
ef1f343258
runtime: Use getcontext, not setjmp, to save regs for GC.
...
From-SVN: r187777
2012-05-22 16:57:23 +00:00
Ian Lance Taylor
d7b8f2b781
runtime: Print stack trace on panic or signal.
...
From-SVN: r187623
2012-05-17 05:30:25 +00:00
Ian Lance Taylor
eaca667ecf
log/syslog: Fix name of C function syslog_c.
...
From Rainer Orth.
From-SVN: r187596
2012-05-16 14:52:03 +00:00
Ian Lance Taylor
c39cbb22b0
debug/dwarf: Fix handling of LineSetFile.
...
From-SVN: r187578
2012-05-16 05:36:31 +00:00
Ian Lance Taylor
fe725c000b
runtime: Make all variables used across getcontext volatile.
...
From-SVN: r187549
2012-05-15 18:56:48 +00:00
Ian Lance Taylor
f3ab5720f7
libgo: Use -fgo-pkgpath.
...
From-SVN: r187485
2012-05-14 22:08:42 +00:00
Ian Lance Taylor
33e337e34d
libgo: Update to Go 1.0.1 release.
...
From-SVN: r187163
2012-05-04 15:01:11 +00:00
Ian Lance Taylor
81b9589421
re PR go/52586 (libgo fails to build for mips*64-linux-gnu (reference to undefined name 'SYS_GETDENTS64'))
...
PR go/52586
mksysinfo, syscall: Make sure SYS_GETDENTS64 is defined.
Fixes build on MIPS GNU/Linux.
From-SVN: r186986
2012-04-30 16:04:17 +00:00
Ian Lance Taylor
324612b351
re PR go/52358 (math FAILs on Solaris 8 and 9)
...
PR go/52358
configure, runtime: Provide i386 long double math functions if needed.
From-SVN: r186915
2012-04-27 16:38:11 +00:00
Ian Lance Taylor
6c88c77ec7
re PR go/52358 (math FAILs on Solaris 8 and 9)
...
PR go/52358
math: Work around bug in Solaris 9 implementation of ldexp.
The bug is that ldexp(-1, -1075) should return -0, but the
Solaris 9 implementation returns +0.
From-SVN: r186913
2012-04-27 16:32:42 +00:00
Ian Lance Taylor
f07bb470ae
runtime: Correct syscall.Setenv for systems that don't have setenv.
...
From-SVN: r186911
2012-04-27 16:28:21 +00:00
Ian Lance Taylor
181c7267c7
mksysinfo, net: Always define syscall.SO_REUSEPORT.
...
From-SVN: r186857
2012-04-26 04:25:56 +00:00