]> Cypherpunks repositories - gostls13.git/commit
all: merge NaCl branch (part 1)
authorDave Cheney <dave@cheney.net>
Tue, 25 Feb 2014 14:47:42 +0000 (09:47 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 25 Feb 2014 14:47:42 +0000 (09:47 -0500)
commit7c8280c9efcd24b882e441d359b6880c1a456ad8
tree120ce40112502f840faa88faee49f5055536a316
parent7206f50f719cdac2a93e2beb723908bff69d7f22
all: merge NaCl branch (part 1)

See golang.org/s/go13nacl for design overview.

This CL is the mostly mechanical changes from rsc's Go 1.2 based NaCl branch, specifically 39cb35750369 to 500771b477cf from https://code.google.com/r/rsc-go13nacl. This CL does not include working NaCl support, there are probably two or three more large merges to come.

CL 15750044 is not included as it involves more invasive changes to the linker which will need to be merged separately.

The exact change lists included are

15050047: syscall: support for Native Client
15360044: syscall: unzip implementation for Native Client
15370044: syscall: Native Client SRPC implementation
15400047: cmd/dist, cmd/go, go/build, test: support for Native Client
15410048: runtime: support for Native Client
15410049: syscall: file descriptor table for Native Client
15410050: syscall: in-memory file system for Native Client
15440048: all: update +build lines for Native Client port
15540045: cmd/6g, cmd/8g, cmd/gc: support for Native Client
15570045: os: support for Native Client
15680044: crypto/..., hash/crc32, reflect, sync/atomic: support for amd64p32
15690044: net: support for Native Client
15690048: runtime: support for fake time like on Go Playground
15690051: build: disable various tests on Native Client

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/68150047
133 files changed:
src/cmd/5g/galign.c
src/cmd/6g/cgen.c
src/cmd/6g/galign.c
src/cmd/6g/gg.h
src/cmd/6g/ggen.c
src/cmd/6g/gsubr.c
src/cmd/6g/prog.c
src/cmd/6g/reg.c
src/cmd/8g/galign.c
src/cmd/8g/gg.h
src/cmd/8g/ggen.c
src/cmd/dist/build.c
src/cmd/gc/align.c
src/cmd/gc/builtin.c
src/cmd/gc/go.h
src/cmd/gc/lex.c
src/cmd/gc/obj.c
src/cmd/gc/pgen.c
src/cmd/gc/reflect.c
src/cmd/gc/runtime.go
src/cmd/gc/walk.c
src/cmd/go/build.go
src/cmd/go/run.go
src/cmd/go/signal_unix.go
src/cmd/go/test.go
src/cmd/go/testflag.go
src/pkg/crypto/md5/md5block_amd64p32.s [new file with mode: 0644]
src/pkg/crypto/md5/md5block_decl.go
src/pkg/crypto/rand/rand_unix.go
src/pkg/crypto/rc4/rc4_amd64p32.s [new file with mode: 0644]
src/pkg/crypto/rc4/rc4_asm.go
src/pkg/crypto/rc4/rc4_ref.go
src/pkg/crypto/sha1/sha1block_amd64p32.s [new file with mode: 0644]
src/pkg/crypto/sha1/sha1block_decl.go
src/pkg/crypto/x509/root_unix.go
src/pkg/go/build/build.go
src/pkg/go/build/deps_test.go
src/pkg/go/build/syslist.go
src/pkg/hash/crc32/crc32_amd64p32.s [new file with mode: 0644]
src/pkg/hash/crc32/crc32_amd64x.go [moved from src/pkg/hash/crc32/crc32_amd64.go with 96% similarity]
src/pkg/log/syslog/syslog.go
src/pkg/log/syslog/syslog_test.go
src/pkg/log/syslog/syslog_unix.go
src/pkg/mime/type_unix.go
src/pkg/net/conn_test.go
src/pkg/net/dnsclient_unix.go
src/pkg/net/dnsconfig_unix.go
src/pkg/net/fd_poll_nacl.go [new file with mode: 0644]
src/pkg/net/fd_unix.go
src/pkg/net/file_test.go
src/pkg/net/file_unix.go
src/pkg/net/interface_stub.go
src/pkg/net/ipraw_test.go
src/pkg/net/iprawsock_posix.go
src/pkg/net/ipsock_posix.go
src/pkg/net/lookup_unix.go
src/pkg/net/multicast_test.go
src/pkg/net/net_test.go
src/pkg/net/port_unix.go
src/pkg/net/sendfile_stub.go
src/pkg/net/sock_bsd.go
src/pkg/net/sock_posix.go
src/pkg/net/sockopt_bsd.go
src/pkg/net/sockopt_posix.go
src/pkg/net/sockoptip_bsd.go
src/pkg/net/sockoptip_posix.go
src/pkg/net/sys_cloexec.go
src/pkg/net/tcpsock_posix.go
src/pkg/net/tcpsockopt_posix.go
src/pkg/net/tcpsockopt_unix.go
src/pkg/net/udpsock_posix.go
src/pkg/net/unixsock_posix.go
src/pkg/os/dir_unix.go
src/pkg/os/error_unix.go
src/pkg/os/exec/lp_unix.go
src/pkg/os/exec_posix.go
src/pkg/os/exec_unix.go
src/pkg/os/file_posix.go
src/pkg/os/file_unix.go
src/pkg/os/path_unix.go
src/pkg/os/pipe_bsd.go
src/pkg/os/signal/sig.s
src/pkg/os/signal/signal_unix.go
src/pkg/os/stat_nacl.go [new file with mode: 0644]
src/pkg/os/sys_bsd.go
src/pkg/path/filepath/path_unix.go
src/pkg/reflect/asm_amd64p32.s [new file with mode: 0644]
src/pkg/reflect/type.go
src/pkg/runtime/arch_386.h
src/pkg/runtime/arch_amd64.h
src/pkg/runtime/arch_amd64p32.h [new file with mode: 0644]
src/pkg/runtime/arch_arm.h
src/pkg/runtime/mem_linux.c
src/pkg/runtime/mem_nacl.c [new file with mode: 0644]
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/mknacl.sh [new file with mode: 0644]
src/pkg/runtime/netpoll.goc
src/pkg/runtime/netpoll_nacl.c [new file with mode: 0644]
src/pkg/runtime/os_nacl.c [new file with mode: 0644]
src/pkg/runtime/os_nacl.h [new file with mode: 0644]
src/pkg/runtime/runtime.h
src/pkg/runtime/signal_386.c
src/pkg/runtime/signal_nacl_386.h [new file with mode: 0644]
src/pkg/runtime/signal_nacl_amd64p32.h [new file with mode: 0644]
src/pkg/runtime/signals_nacl.h [new file with mode: 0644]
src/pkg/runtime/sys_x86.c
src/pkg/runtime/syscall_nacl.h [new file with mode: 0644]
src/pkg/runtime/traceback_x86.c
src/pkg/runtime/vlrt_386.c
src/pkg/runtime/vlrt_arm.c
src/pkg/sync/atomic/asm_amd64p32.s [new file with mode: 0644]
src/pkg/sync/atomic/atomic_test.go
src/pkg/syscall/asm_nacl_386.s [new file with mode: 0644]
src/pkg/syscall/asm_nacl_amd64p32.s [new file with mode: 0644]
src/pkg/syscall/env_unix.go
src/pkg/syscall/fd_nacl.go [new file with mode: 0644]
src/pkg/syscall/fs_nacl.go [new file with mode: 0644]
src/pkg/syscall/mkall.sh
src/pkg/syscall/mksyscall.pl
src/pkg/syscall/srpc_nacl.go [new file with mode: 0644]
src/pkg/syscall/syscall_nacl.go [new file with mode: 0644]
src/pkg/syscall/syscall_nacl_386.go [new file with mode: 0644]
src/pkg/syscall/syscall_nacl_amd64p32.go [new file with mode: 0644]
src/pkg/syscall/tables_nacl.go [new file with mode: 0644]
src/pkg/syscall/time_nacl_386.s [new file with mode: 0644]
src/pkg/syscall/time_nacl_amd64p32.s [new file with mode: 0644]
src/pkg/syscall/unzip_nacl.go [new file with mode: 0644]
src/pkg/syscall/zsyscall_nacl_386.go [new file with mode: 0644]
src/pkg/syscall/zsyscall_nacl_amd64p32.go [new file with mode: 0644]
src/pkg/time/sys_unix.go
src/pkg/time/zoneinfo_unix.go
test/run.go