summaryrefslogtreecommitdiffstats
path: root/libgo
Commit message (Collapse)AuthorAgeFilesLines
...
* syscall: fix creds_test to reliably close os.Fileian2012-10-261-2/+6
| | | | | | | | | | | | | | | | | | | | Uncovered by Uros Bizjak. Before this patch the test would close the file descriptor but not the os.File. When the os.File was GC'ed, the finalizer would close the file descriptor again. That would cause problems if the same file descriptor were returned by a later call to open in another test. On my system: > GOGC=30 go test --- FAIL: TestPassFD (0.04 seconds) passfd_test.go:62: FileConn: dup: bad file descriptor FAIL git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192854 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Solaris portability patches.ian2012-10-254-92/+19
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192819 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo: Define SIGPOLL and SIGCLD if necessary.ian2012-10-241-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192775 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Disable crash tests that runs go tool.ian2012-10-231-9/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192735 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/54918ian2012-10-234-4/+7
| | | | | | | libgo: Set library version number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192706 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current sources.ian2012-10-23548-12551/+56845
| | | | 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-03124-481/+2060
| | | | 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-2813-256/+165
| | | | 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
* libgo: Add no-dist and -Wno-portability to AM_INIT_AUTOMAKE.ian2012-09-203-312/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191575 138bc75d-0d04-0410-961f-82ee72b054a4
* debug/elf, debug/dwarf: DWARF line number fixes.ian2012-09-062-7/+49
| | | | | | | | | | Support DW_AT_high_pc as a constant. Support DW_AT_ranges. PR gcc/52583 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191008 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Remove old handling of unsafe.Pointer in type assertions.ian2012-08-231-1/+1
| | | | | | | Fixes issue 17. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190608 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo: Fix syscall.F_GETLK and friends for 32-bit x86.ian2012-08-211-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190554 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-0710-42/+210
| | | | | | | | | 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-266-10/+15
| | | | 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
* mksysinfo.sh: Fix handling of glibc 2.16 bits/resource.h.ian2012-07-091-2/+2
| | | | | | | From Jakub Jelinek. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189372 138bc75d-0d04-0410-961f-82ee72b054a4
* gotest: Only look in data segment for ppc64, not ppc*.ian2012-06-251-1/+1
| | | | | | | From Andreas Schwab. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188944 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.2 release.ian2012-06-2559-169/+1088
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188943 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, reflect: Quote package path with tabs.ian2012-06-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188548 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Make the subdirectory in the CHECK target.ian2012-06-142-216/+2
| | | | | | | From Andreas Schwab. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188547 138bc75d-0d04-0410-961f-82ee72b054a4
* os/user: Use Entersyscall.ian2012-06-131-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188496 138bc75d-0d04-0410-961f-82ee72b054a4
* os: Use Entersyscall when reading directories.ian2012-06-131-2/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188494 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, reflect: Handle package path like gc compiler.ian2012-06-123-4/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188482 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-074-36/+63
| | | | 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-054-3/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188230 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo: Fix for recent change to glibc <sys/resource.h>.ian2012-06-051-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188228 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Better SWIG interface for allocating Go memory from C/C++.ian2012-06-043-3/+149
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188164 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: More efficient implementation of trampolines.ian2012-05-253-26/+88
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187899 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix cast error in print.c on 32-bit systems.ian2012-05-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187889 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Make runtime.Stack actually work.ian2012-05-244-66/+61
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187854 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Correct definition of __go_file_line to match declaration.ian2012-05-241-1/+1
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187851 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Copy runtime_printf from other Go library.ian2012-05-241-0/+310
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187850 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Copy runtime_printf from other Go library.ian2012-05-2414-185/+106
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187848 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Tweak runtime.Callers for Go 1 compatibility.ian2012-05-221-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187781 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Use getcontext, not setjmp, to save regs for GC.ian2012-05-222-7/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187777 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Print stack trace on panic or signal.ian2012-05-178-61/+262
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187623 138bc75d-0d04-0410-961f-82ee72b054a4
* log/syslog: Fix name of C function syslog_c.ian2012-05-161-1/+1
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187596 138bc75d-0d04-0410-961f-82ee72b054a4
* debug/dwarf: Fix handling of LineSetFile.ian2012-05-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187578 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Make all variables used across getcontext volatile.ian2012-05-151-10/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187549 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Use -fgo-pkgpath.ian2012-05-1436-475/+524
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187485 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud