]> Cypherpunks repositories - gostls13.git/commit
runtime: remove runtime wait/notify from ppc64x architectures.
authorSrdjan Petrovic <spetrovic@google.com>
Sat, 11 Apr 2015 00:23:00 +0000 (17:23 -0700)
committerDavid Crawshaw <crawshaw@golang.org>
Mon, 13 Apr 2015 17:21:04 +0000 (17:21 +0000)
commita888fcf7a792bdf0c456dd95ac509fc65f4d7b21
tree010e1360affc16ea7f22c2d1fe536d61af4b89f8
parent4af5dcb2db977ea3c2e2218be7912951b3a44113
runtime: remove runtime wait/notify from ppc64x architectures.

Related to issue #10410

For some reason, any non-trivial code in _cgo_wait_runtime_init_done
(even fprintf()) will crash that call.

If anybody has any guess why this is happening, please let me know!

For now, I'm clearing the functions for ppc64, as it's currently not used.

Change-Id: I1b11383aaf4f9f9a16f1fd6606842cfeedc9f0b3
Reviewed-on: https://go-review.googlesource.com/8766
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Run-TryBot: Srdjan Petrovic <spetrovic@google.com>
src/runtime/cgo/gcc_libinit.c
src/runtime/cgo/gcc_libinit_linux_ppc64x.c [new file with mode: 0644]