summaryrefslogtreecommitdiff
path: root/libgo/go/syscall/libcall_linux.go
AgeCommit message (Collapse)Author
2019-02-07syscall: add Hurd supportIan Lance Taylor
Loosely based on a patch by Svante Signell. Reviewed-on: https://go-review.googlesource.com/c/161518 From-SVN: r268603
2018-09-24libgo: update to Go 1.11Ian Lance Taylor
Reviewed-on: https://go-review.googlesource.com/136435 gotools/: * Makefile.am (mostlyclean-local): Run chmod on check-go-dir to make sure it is writable. (check-go-tools): Likewise. (check-vet): Copy internal/objabi to check-vet-dir. * Makefile.in: Rebuild. From-SVN: r264546
2017-07-21syscall: call f?statfs64 on GNU/LinuxIan Lance Taylor
We unconditionally set _FILE_OFFSET_BITS to 64 in configure.ac, so we should unconditionally call the statfs64 and fstatfs64 functions. These functions should be available on all versions of GNU/Linux since 2.6. On 64-bit systems they are aliased to statfs/fstatfs, and on 32-bit systems they use the 64-bit data structures. Fixes golang/go#20922 Reviewed-on: https://go-review.googlesource.com/50635 From-SVN: r250443
2017-01-14libgo: update to Go 1.8 release candidate 1Ian Lance Taylor
Compiler changes: * Change map assignment to use mapassign and assign value directly. * Change string iteration to use decoderune, faster for ASCII strings. * Change makeslice to take int, and use makeslice64 for larger values. * Add new noverflow field to hmap struct used for maps. Unresolved problems, to be fixed later: * Commented out test in go/types/sizes_test.go that doesn't compile. * Commented out reflect.TestStructOf test for padding after zero-sized field. Reviewed-on: https://go-review.googlesource.com/35231 gotools/: Updates for Go 1.8rc1. * Makefile.am (go_cmd_go_files): Add bug.go. (s-zdefaultcc): Write defaultPkgConfig. * Makefile.in: Rebuild. From-SVN: r244456
2016-02-03libgo: Update to go1.6rc1.Ian Lance Taylor
Reviewed-on: https://go-review.googlesource.com/19200 From-SVN: r233110
2015-11-21re PR go/66378 (libgo syscall.Sendfile() does not honor/use offset argument)Ian Lance Taylor
PR go/66378 syscall: Fix initial offset value in syscall.Sendfile. Bug reported in https://gcc.gnu.org/PR66378. Reviewed-on: https://go-review.googlesource.com/17159 From-SVN: r230699
2015-09-15libgo: don't provide ustat on arm64 GNU/LinuxIan Lance Taylor
This avoids linker warnings when linking against glibc, as apparently arm64 GNU/Linux does not support the ustat system call. Also update to automake 1.11.6, as that is the new GCC standard. Reviewed-on: https://go-review.googlesource.com/14567 From-SVN: r227777
2015-07-13syscall: remove calls to Entersyscall & Exitsyscall in GetdentsIan Lance Taylor
The syscall for Getdents in syscall/libcall_linux.go called Entersyscall and Exitsyscall, causing the runtime_sched counts for goroutines to be incorrect. Inconsistent counts caused checkdead in runtime/proc.c to panic. Fixes golang/go#11406 Reviewed-on: https://go-review.googlesource.com/11761 From-SVN: r225745
2013-11-24syscall: Only call varargs libc functions from C code.Ian Lance Taylor
From-SVN: r205321
2013-10-17syscall: Add Dup3, {Get,List,Remove,Set}xattr, {Get,Set}priority.Ian Lance Taylor
From-SVN: r203788
2013-02-08syscall: Always use _C_int for C libcalls.Ian Lance Taylor
From-SVN: r195897
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.Ian Lance Taylor
From-SVN: r195560
2012-12-05syscall: Fix splice syscall.Ian Lance Taylor
From-SVN: r194185
2012-11-21libgo: Update to current version of master library.Ian Lance Taylor
From-SVN: r193688
2012-04-30re PR go/52586 (libgo fails to build for mips*64-linux-gnu (reference to ↵Ian Lance Taylor
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-22mksysinfo: More fixes to emulate master Go library.Ian Lance Taylor
From-SVN: r186685
2012-04-21syscall: Additional constants, some type corrections.Ian Lance Taylor
From-SVN: r186655
2012-03-13libgo: Export {enter,exit}syscall and use it for getaddrinfo.Ian Lance Taylor
From-SVN: r185363
2012-03-02libgo: Update to weekly.2012-02-14 release.Ian Lance Taylor
From-SVN: r184798
2012-02-29syscall: Fill out GNU/Linux support.Ian Lance Taylor
From-SVN: r184669
2012-02-18libgo: Add mount flags, fallocate, statfs.Ian Lance Taylor
From-SVN: r184365
2012-01-31syscall: Add Gettid on GNU/Linux systems.Ian Lance Taylor
From-SVN: r183775
2012-01-31syscall: Don't use PtraceRegs if it is not defined.Ian Lance Taylor
From-SVN: r183758
2012-01-13libgo: Only build iopl and ioperm on 386, amd64, alpha GNU/Linux.Ian Lance Taylor
From-SVN: r183171
2011-12-12libgo: Update to weekly.2011-11-18.Ian Lance Taylor
From-SVN: r182266
2011-11-02syscall: Remove Linux system calls not available in older glibcs.Ian Lance Taylor
From-SVN: r180784
2011-10-26Update Go library to last weekly.Ian Lance Taylor
From-SVN: r180552
2011-10-25Solaris/Irix compatibility patches.Ian Lance Taylor
From-SVN: r180440
2011-10-24Some minor fixes to the rewritten syscall library.Ian Lance Taylor
From-SVN: r180363
2011-10-23Implement new syscall package.Ian Lance Taylor
Calls to library functions now use entersyscall and exitsyscall as appropriate. This is a first step toward multiplexing goroutines onto threads. From-SVN: r180345