OSDN Git Service

Implement new syscall package.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Oct 2011 19:04:37 +0000 (19:04 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Oct 2011 19:04:37 +0000 (19:04 +0000)
commitd477de419fb666727320c0ce7adabe6ce70dfbfc
tree664e8146cf480634282350e5f7f68403941ddfea
parentc512f3a475837c5f5cd895a8513e3c3c9ba03648
Implement new syscall package.

Calls to library functions now use entersyscall and
exitsyscall as appropriate.  This is a first step toward
multiplexing goroutines onto threads.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180345 138bc75d-0d04-0410-961f-82ee72b054a4
74 files changed:
libgo/Makefile.am
libgo/Makefile.in
libgo/configure
libgo/configure.ac
libgo/go/net/cgo_unix.go
libgo/go/net/fd_select.go
libgo/go/os/user/lookup_unix.go
libgo/go/syscall/bpf_bsd.go [new file with mode: 0644]
libgo/go/syscall/errno.c [moved from libgo/syscalls/errno.c with 78% similarity]
libgo/go/syscall/errstr.go [moved from libgo/syscalls/errstr.go with 58% similarity]
libgo/go/syscall/errstr_linux.go [new file with mode: 0644]
libgo/go/syscall/errstr_nor.go [moved from libgo/syscalls/errstr_nor.go with 88% similarity]
libgo/go/syscall/exec_stubs.go [moved from libgo/syscalls/exec_stubs.go with 76% similarity]
libgo/go/syscall/exec_unix.go [moved from libgo/syscalls/exec.go with 50% similarity]
libgo/go/syscall/exec_windows.go [new file with mode: 0644]
libgo/go/syscall/libcall_linux.go [new file with mode: 0644]
libgo/go/syscall/libcall_posix.go [new file with mode: 0644]
libgo/go/syscall/libcall_posix_largefile.go [new file with mode: 0644]
libgo/go/syscall/libcall_posix_regfile.go [new file with mode: 0644]
libgo/go/syscall/libcall_solaris_386.go [moved from libgo/syscalls/syscall_uname.go with 54% similarity]
libgo/go/syscall/libcall_support.go [moved from libgo/syscalls/syscall_solaris.go with 55% similarity]
libgo/go/syscall/libcall_uname.go [moved from libgo/syscalls/syscall_rtems.go with 72% similarity]
libgo/go/syscall/libcall_wait4.go [new file with mode: 0644]
libgo/go/syscall/libcall_waitpid.go [moved from libgo/syscalls/wait4.go with 51% similarity]
libgo/go/syscall/lsf_linux.go [new file with mode: 0644]
libgo/go/syscall/mksyscall.awk [new file with mode: 0644]
libgo/go/syscall/netlink_linux.go [moved from libgo/syscalls/netlink_linux.go with 97% similarity]
libgo/go/syscall/route_bsd.go [new file with mode: 0644]
libgo/go/syscall/route_darwin.go [new file with mode: 0644]
libgo/go/syscall/route_freebsd.go [new file with mode: 0644]
libgo/go/syscall/route_openbsd.go [new file with mode: 0644]
libgo/go/syscall/sleep_rtems.go [moved from libgo/syscalls/sleep_rtems.go with 65% similarity]
libgo/go/syscall/sleep_select.go [moved from libgo/syscalls/sleep_select.go with 87% similarity]
libgo/go/syscall/sockcmsg_linux.go [new file with mode: 0644]
libgo/go/syscall/sockcmsg_unix.go [new file with mode: 0644]
libgo/go/syscall/socket.go [new file with mode: 0644]
libgo/go/syscall/socket_bsd.go [moved from libgo/syscalls/socket_bsd.go with 100% similarity]
libgo/go/syscall/socket_irix.go [moved from libgo/syscalls/socket_irix.go with 100% similarity]
libgo/go/syscall/socket_linux.go [moved from libgo/syscalls/socket_linux.go with 80% similarity]
libgo/go/syscall/socket_solaris.go [moved from libgo/syscalls/socket_solaris.go with 100% similarity]
libgo/go/syscall/str.go [new file with mode: 0644]
libgo/go/syscall/syscall.go [new file with mode: 0644]
libgo/go/syscall/syscall_linux_386.go [moved from libgo/syscalls/syscall_linux_386.go with 100% similarity]
libgo/go/syscall/syscall_linux_alpha.go [moved from libgo/syscalls/syscall_linux_alpha.go with 100% similarity]
libgo/go/syscall/syscall_linux_amd64.go [moved from libgo/syscalls/syscall_linux_amd64.go with 100% similarity]
libgo/go/syscall/syscall_stubs.go [new file with mode: 0644]
libgo/go/syscall/syscall_unix.go [new file with mode: 0644]
libgo/go/syscall/wait.c [new file with mode: 0644]
libgo/mksysinfo.sh
libgo/runtime/proc.c
libgo/syscalls/errstr_decl.go [deleted file]
libgo/syscalls/errstr_decl_linux.go [deleted file]
libgo/syscalls/errstr_decl_rtems.go [deleted file]
libgo/syscalls/errstr_rtems.go [deleted file]
libgo/syscalls/exec_helpers.go [deleted file]
libgo/syscalls/socket.go [deleted file]
libgo/syscalls/socket_epoll.go [deleted file]
libgo/syscalls/stringbyte.go [deleted file]
libgo/syscalls/syscall.go [deleted file]
libgo/syscalls/syscall_irix.go [deleted file]
libgo/syscalls/syscall_linux.go [deleted file]
libgo/syscalls/syscall_solaris_386.go [deleted file]
libgo/syscalls/syscall_solaris_amd64.go [deleted file]
libgo/syscalls/syscall_solaris_sparc.go [deleted file]
libgo/syscalls/syscall_solaris_sparc64.go [deleted file]
libgo/syscalls/syscall_stubs.go [deleted file]
libgo/syscalls/syscall_unix.go [deleted file]
libgo/syscalls/sysfile_largefile.go [deleted file]
libgo/syscalls/sysfile_posix.go [deleted file]
libgo/syscalls/sysfile_regfile.go [deleted file]
libgo/syscalls/sysfile_stat_largefile.go [deleted file]
libgo/syscalls/sysfile_stat_regfile.go [deleted file]
libgo/syscalls/waitpid.go [deleted file]
libgo/testsuite/Makefile.in