From: Russ Cox Date: Sun, 12 Sep 2010 03:36:06 +0000 (-0400) Subject: arm: make libcgo build during OS X cross-compile X-Git-Tag: weekly.2010-09-15~43 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=eddddf042dcdc211658589dd294040ac5b585794;p=gostls13.git arm: make libcgo build during OS X cross-compile The gcc on OS X seems pickier about noticing symbols that are referred to but not found during the link of a .so file. R=r CC=golang-dev https://golang.org/cl/2098047 --- diff --git a/src/libcgo/linux_arm.c b/src/libcgo/linux_arm.c index 32d8629849..d674aca1df 100644 --- a/src/libcgo/linux_arm.c +++ b/src/libcgo/linux_arm.c @@ -1 +1,17 @@ -/* unimplemented */ +// Copyright 2010 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. + +#include "libcgo.h" + +void +initcgo(void) +{ +} + +void +libcgo_sys_thread_start(ThreadStart *ts) +{ + // unimplemented + *(int*)0 = 0; +}