mirror of
https://github.com/golang/go
synced 2024-11-19 21:04:43 -07:00
runtime/cgo: use normal libinit on PPC GNU/Linux
The special case was because PPC did not support external linking, but now it does. Fixes #10410. Change-Id: I9b024686e0f03da7a44c1c59b41c529802f16ab0 Reviewed-on: https://go-review.googlesource.com/22372 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
c165988360
commit
32302d6289
@ -4,7 +4,6 @@
|
||||
|
||||
// +build cgo
|
||||
// +build darwin dragonfly freebsd linux netbsd solaris
|
||||
// +build !ppc64,!ppc64le
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
|
@ -1,26 +0,0 @@
|
||||
// Copyright 2015 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// TODO: see issue #10410
|
||||
// +build linux
|
||||
// +build ppc64 ppc64le
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void
|
||||
x_cgo_sys_thread_create(void* (*func)(void*), void* arg) {
|
||||
fprintf(stderr, "x_cgo_sys_thread_create not implemented");
|
||||
abort();
|
||||
}
|
||||
|
||||
void
|
||||
_cgo_wait_runtime_init_done() {
|
||||
// TODO(spetrovic): implement this method.
|
||||
}
|
||||
|
||||
void
|
||||
x_cgo_notify_runtime_init_done(void* dummy) {
|
||||
// TODO(spetrovic): implement this method.
|
||||
}
|
Loading…
Reference in New Issue
Block a user