gcc/libgo/go/runtime
Ian Lance Taylor 9e45ca5f83 re PR go/81451 (missing futex check - libgo/runtime/thread-linux.c:12:0 futex.h:13:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’)
PR go/81451
    runtime: inline runtime_osinit
    
    We had two identical copies of runtime_osinit. They set runtime_ncpu,
    a variable that is no longer used. Removing that leaves us with two lines.
    Inline those two lines in the two places the function was called.
    
    This fixes GCC PR 81451.
    
    Reviewed-on: https://go-review.googlesource.com/48862

From-SVN: r250326
2017-07-18 23:14:29 +00:00
..
debug libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
internal libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
msan
pprof Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
testdata runtime: don't assume that _ = *s will panic if s is nil 2017-06-22 14:46:12 +00:00
trace libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
alg.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
append_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
callers_test.go
cgo_gccgo.go runtime: complete defer handling in CgocallBackDone 2017-06-23 20:19:40 +00:00
cgocall.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
cgocheck.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
chan_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
chan.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
chanbarrier_test.go
closure_test.go
compiler.go
complex_test.go
cpuprof.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
cputicks.go
crash_cgo_test.go runtime: adjust tests for gofrontend 2017-06-22 14:28:57 +00:00
crash_nonunix_test.go
crash_test.go runtime: adjust tests for gofrontend 2017-06-22 14:28:57 +00:00
crash_unix_test.go runtime: adjust tests for gofrontend 2017-06-22 14:28:57 +00:00
debug.go runtime: make NumGoroutine wait for system goroutines to register 2017-06-22 15:46:47 +00:00
env_posix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
env_test.go
error.go
export_arm_test.go
export_linux_test.go
export_mmap_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
export_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
export_windows_test.go
extern.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
fastlog2_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
fastlog2.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
fastlog2table.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
ffi.go
gc_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
gcinfo_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
hash32.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
hash64.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
hash_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
hashmap_fast.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
hashmap.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
heapdump.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
iface_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
iface.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
lfstack_32bit.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
lfstack_64bit.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
lfstack_test.go
lfstack.go
lock_futex.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
lock_sema.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
malloc_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
malloc.go runtime: adapt memory management to AIX mmap 2017-06-27 22:36:48 +00:00
map_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
mapspeed_test.go
mbarrier.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mbitmap.go libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
mcache.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mcentral.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mem_gccgo.go runtime: adapt memory management to AIX mmap 2017-06-27 22:36:48 +00:00
memmove_linux_amd64_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
memmove_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mfinal_test.go
mfinal.go runtime: make NumGoroutine wait for system goroutines to register 2017-06-22 15:46:47 +00:00
mfixalloc.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mgc_gccgo.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mgc.go runtime: uncomment check for gchelper on g0 stack 2017-06-22 22:12:50 +00:00
mgcmark.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mgcsweep.go runtime: fix isSystemGoroutine for gccgo 2017-05-11 20:55:41 +00:00
mgcsweepbuf.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mgcwork.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mheap.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mkfastlog2table.go
mksizeclasses.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
mprof.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
msan0.go
msize.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mstats.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mstkbar.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
net_plan9.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
netpoll_aix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
netpoll_epoll.go
netpoll_kqueue.go
netpoll_nacl.go
netpoll_solaris.go
netpoll_stub.go
netpoll_windows.go
netpoll.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
norace_test.go
os_aix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
os_darwin.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
os_dragonfly.go
os_freebsd.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
os_gccgo.go runtime: mark dropm and callees nowritebarrierrec 2017-06-22 22:11:01 +00:00
os_linux_ppc64x.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
os_linux.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
os_netbsd.go
os_openbsd.go
os_solaris.go
panic.go runtime: complete defer handling in CgocallBackDone 2017-06-23 20:19:40 +00:00
print.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
proc_runtime_test.go
proc_test.go
proc.go runtime: don't crash if no p in kickoff 2017-06-23 16:05:44 +00:00
race0.go
rdebug.go
runtime1.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
runtime2.go runtime: improve handling of panic during deferred function 2017-06-23 13:45:36 +00:00
runtime_mmap_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
runtime_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
runtime_unix_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
runtime-lldb_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
runtime.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
select.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
sema.go libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
signal_gccgo.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
signal_sighandler.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
signal_unix.go runtime: mark dropm and callees nowritebarrierrec 2017-06-22 22:11:01 +00:00
sigqueue.go
sizeclasses.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
slice.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
stack.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
string_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
string.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
stubs2.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
stubs.go re PR go/81451 (missing futex check - libgo/runtime/thread-linux.c:12:0 futex.h:13:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’) 2017-07-18 23:14:29 +00:00
symtab_test.go
symtab.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
time.go runtime: make NumGoroutine wait for system goroutines to register 2017-06-22 15:46:47 +00:00
trace.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
traceback_gccgo.go runtime: in traceback, print panic rather than runtime.gopanic 2017-06-22 04:16:23 +00:00
type.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
typekind.go
unaligned1.go
unaligned2.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
utf8.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
vdso_none.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
write_err_android.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
write_err.go