From: Ian Lance Taylor Date: Fri, 7 Dec 2018 14:22:55 +0000 (+0000) Subject: runtime: add missing return for non-GNU/Linux version of tgkill X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a58929be88a9f83881668f3d0fb7961c4ef5e58;p=gcc.git runtime: add missing return for non-GNU/Linux version of tgkill Path from Rainer Orth. Reviewed-on: https://go-review.googlesource.com/c/153118 From-SVN: r266890 --- diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index b71d71ff42c..062f9c79817 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -edc7e7172e674b8c7e9c3caa30e24280cd289a9c +f0266d382f8965b7bcaa380aa963498c1884505e The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/go/runtime/stubs_nonlinux.go b/libgo/go/runtime/stubs_nonlinux.go index 4cdab0c8b81..325d35d537d 100644 --- a/libgo/go/runtime/stubs_nonlinux.go +++ b/libgo/go/runtime/stubs_nonlinux.go @@ -17,4 +17,5 @@ func gettid() _pid_t { func tgkill(pid _pid_t, tid _pid_t, sig uint32) uint32 { throw("tgkill not implemented") + return 0 }