gcc/libgo/go/runtime
Ian Lance Taylor c0401cf78c runtime: copy internal locking code from Go 1.7 runtime
Remove the old locking code written in C.
    
    Add a shell script mkrsysinfo.sh to generate the runtime_sysinfo.go
    file, so that we can get Go copies of the system time structures and
    other types.
    
    Tweak the compiler so that when compiling the runtime package the
    address operator does not cause local variables to escape.  When the gc
    compiler compiles the runtime, an escaping local variable is treated as
    an error.  We should implement that, instead of this change, when escape
    analysis is turned on.
    
    Tweak the compiler so that the generated C header does not include names
    that start with an underscore followed by a non-upper-case letter,
    except for the special cases of _defer and _panic.  Otherwise we
    translate C types to Go in runtime_sysinfo.go and then generate those Go
    types back as C types in runtime.inc, which is useless and painful for
    the C code.
    
    Change entersyscall and friends to take a dummy argument, as the gc
    versions do, to simplify calls from the shared code.
    
    Reviewed-on: https://go-review.googlesource.com/30079

From-SVN: r240657
2016-09-30 13:45:08 +00:00
..
debug libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
internal runtime/internal/sys: new package, API copied from Go 1.7 2016-09-11 13:23:27 +00:00
msan libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
pprof libgo: update to Go 1.7.1 release 2016-09-10 13:14:00 +00:00
race libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
testdata libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
append_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
callers_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_mmap.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
cgocheck.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
chan_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
chanbarrier_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
closure_test.go Update Go library to r60. 2011-09-16 15:47:21 +00:00
compiler.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
complex_test.go libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
cputicks.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
crash_cgo_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_nonunix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
debug.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
env_posix.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
env_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
error.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_arm_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_linux_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_mmap_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_test.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
export_windows_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
extern.go runtime/internal/sys: new package, API copied from Go 1.7 2016-09-11 13:23:27 +00:00
fastlog2.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
fastlog2_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fastlog2table.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
gc_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
gcinfo_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
hashmap.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
hashmap_fast.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
iface_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
lfstack_64bit.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
lfstack_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
lock_futex.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
lock_sema.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
malloc_test.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
map_test.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
mapspeed_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mcache.go runtime: use -fgo-c-header to build C header file 2016-08-30 21:07:47 +00:00
mem.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mfinal_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mkfastlog2table.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
mmap.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
msan0.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
mstkbar.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
norace_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
os_darwin.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_dragonfly.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_freebsd.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_linux.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_netbsd.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_openbsd.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
os_solaris.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
print.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
proc_runtime_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
proc_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
race0.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
runtime-lldb_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
runtime1.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
runtime2.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
runtime_mmap_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
signal2_unix.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
signal_sigtramp.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
stack.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
string_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
stubs.go runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
stubs2.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
symtab.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
symtab_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
type.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
typekind.go compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
vdso_none.go runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00