summaryrefslogtreecommitdiffstats
path: root/libgo/go/net
Commit message (Collapse)AuthorAgeFilesLines
* libgo: Update to Go 1.2.1 release.ian2014-03-031-8/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208286 138bc75d-0d04-0410-961f-82ee72b054a4
* net: work around Solaris connect issue when server closes socketian2013-12-281-0/+10
| | | | | | | | | | | | | | On Solaris, if you do a in-progress connect, and then the server accepts and closes the socket, the client's later attempt to complete the connect will fail with EINVAL. Handle this case by assuming that the connect succeeded. This code is weird enough that it is implemented as Solaris-only so that it doesn't hide a real error on a different OS. See http://golang.org/issue/6828. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206232 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/59506ian2013-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | net: use DialTimeout in TestSelfConnect Backported from master repository. This avoids problems with systems that take a long time to find out nothing is listening, while still testing for the self-connect misfeature since a self-connect should be fast. With this we may be able to remove the test for non-Linux systems. Tested (on GNU/Linux) by editing selfConnect in tcpsock_posix.go to always return false and verifying that TestSelfConnect then fails with and without this change. Idea from Uros Bizjak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206224 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert unwanted commit.uros2013-12-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206201 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/uros2013-12-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org> H.J. Lu <hongjiu.lu@intel.com> PR target/59422 * config/i386/i386.c (get_builtin_code_for_version): Handle PROCESSOR_HASWELL, PROCESSOR_SILVERMONT, PROCESSOR_BTVER1, PROCESSOR_BTVER2, PROCESSOR_BDVER3 and PROCESSOR_BDVER4. Change priority of PROCESSOR_BDVER1 to P_PROC_XOP. (fold_builtin_cpu): Add "ivybridge", "haswell", "bonnell", "silvermont", "bobcat" and "jaguar" CPU names. Add "sse4a", "fma4", "xop" and "fma" ISA names. libgcc/ 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org> H.J. Lu <hongjiu.lu@intel.com> PR target/59422 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT and AMD_JAGUAR. (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4, INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL. (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4, FEATURE_XOP and FEATURE_FMA. (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and AMDFAM15H_BDVER3. (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL. (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A, FEATURE_FMA4 and FEATURE_XOP. testsuite/ 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org> PR target/59422 * gcc.target/i386/funcspec-5.c (test_fma, test_xop, test_no_fma, test_no_xop, test_arch_corei7, test_arch_corei7_avx, test_arch_core_avx2, test_arch_bdver1, test_arch_bdver2, test_arch_bdver3, test_tune_corei7, test_tune_corei7_avx, test_tune_core_avx2, test_tune_bdver1, test_tune_bdver2 and test_tune_bdver3): New function prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206200 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current Go library.ian2013-11-278-12/+79
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205426 138bc75d-0d04-0410-961f-82ee72b054a4
* net: On Solaris use Darwin keepalive code.ian2013-11-141-25/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204819 138bc75d-0d04-0410-961f-82ee72b054a4
* net: Fix TCP keepalive handling for Solaris.ian2013-11-111-0/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204688 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo, net: Always define F_DUPFD_CLOEXEC.ian2013-11-111-1/+1
| | | | | | | For Solaris and CentOS portability. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204687 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to October 24 version of master library.ian2013-11-06130-2425/+4985
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204466 138bc75d-0d04-0410-961f-82ee72b054a4
* net: give C.getaddrinfo a hint that we only want SOCK_STREAM answersian2013-08-091-1/+2
| | | | | | | | | | This should be more efficient everywhere, and appears to be required on Solaris. Copied from master repository. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201637 138bc75d-0d04-0410-961f-82ee72b054a4
* net/http: Don't try to trace sendfile64 on alpha.ian2013-07-241-1/+6
| | | | | | | From Uros Bizjak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201206 138bc75d-0d04-0410-961f-82ee72b054a4
* net: Remove Solaris-specific version of listenerSockaddr.ian2013-07-231-29/+0
| | | | | | | Solaris will use the version in sock_unix.go. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201183 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.1.1.ian2013-07-16117-2711/+8099
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200974 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/56172ian2013-02-071-1/+1
| | | | | | | | | net: Skip TestMulticastListener on Solaris From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195855 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/56172ian2013-02-064-7/+34
| | | | | | | | | | net: Fixes for select based pollster. Make Close work properly, mainly for testing. Restart the select if a descriptor is closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195823 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update Go library to master revision 15489/921e53d4863c.ian2013-01-2947-704/+1025
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to revision 15193:6fdc1974457c of master library.ian2012-12-2221-166/+806
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194692 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current master library sources.ian2012-12-1253-701/+1735
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194460 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current version of master library.ian2012-11-2163-683/+2306
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193688 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Solaris portability patches.ian2012-10-251-90/+0
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192819 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current sources.ian2012-10-2383-2065/+2789
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192704 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.3.ian2012-10-0326-205/+926
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192025 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Use libbacktrace rather than debug/elf registration.ian2012-09-282-2/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191831 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.2 release.ian2012-06-2513-16/+138
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188943 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.1 release.ian2012-05-048-22/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187163 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo, net: Always define syscall.SO_REUSEPORT.ian2012-04-261-3/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186857 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52583ian2012-04-255-3/+160
| | | | | | | | | | | net: Solaris fixes. In particular fix fd_select.go to handle the case where a file descriptor is closed by one goroutine while another goroutine is waiting for it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186801 138bc75d-0d04-0410-961f-82ee72b054a4
* net, syscall: Use native endianness for GNU/Linux netlink code.ian2012-04-201-11/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186640 138bc75d-0d04-0410-961f-82ee72b054a4
* net/http: Ignore sigaltstack when running strace in test.ian2012-04-201-1/+1
| | | | | | | Avoids bug in strace 4.5.20 on powerpc-unknown-linux-gnu. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186635 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall, net: Fix GNU/Linux netlink code for big-endian systems.ian2012-04-031-2/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186123 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-03-27 aka go1 release.ian2012-03-301-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186029 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-03-22.ian2012-03-305-40/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186026 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-03-13.ian2012-03-3036-469/+1482
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186023 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Export {enter,exit}syscall and use it for getaddrinfo.ian2012-03-131-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185363 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Implement and use runtime.Caller, runtime.Func.FileLine.ian2012-03-072-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185025 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-03-04 release.ian2012-03-0630-290/+471
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185010 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-02-22 release.ian2012-03-0246-379/+788
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184819 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-02-14 release.ian2012-03-0240-404/+1041
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184798 138bc75d-0d04-0410-961f-82ee72b054a4
* net: Don't run UDP multicast tests on Alpha GNU/Linux.ian2012-02-141-1/+1
| | | | | | | From Uros Bizjak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184187 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-02-07.ian2012-02-0956-589/+756
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184034 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, libgo: Use //extern comments rather than __asm__.ian2012-02-071-3/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183981 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-01-27.ian2012-02-0128-514/+696
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183810 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-01-20.ian2012-01-2546-807/+891
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183540 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-01-15.ian2012-01-2531-278/+1285
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183539 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-12-22.ian2012-01-1335-161/+514
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183150 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-12-14.ian2012-01-1211-38/+69
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183118 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-12-06.ian2011-12-1415-97/+45
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182338 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Solaris compatibility patches.ian2011-12-131-2/+3
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182296 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-12-02.ian2011-12-1322-99/+104
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182295 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud