diff options
author | Ian Lance Taylor <iant@golang.org> | 2017-10-10 15:11:05 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2017-10-11 21:12:51 +0000 |
commit | 30cb30e596759279b487b835440269989bd08b04 (patch) | |
tree | 0b314f5e15529e197cd18f8172e014631550b31b /src/runtime/rt0_solaris_amd64.s | |
parent | c15c44ec48fa278330b5d205cf7b4508250496fe (diff) | |
download | go-30cb30e596759279b487b835440269989bd08b04.tar.gz go-30cb30e596759279b487b835440269989bd08b04.zip |
runtime: unify amd64 -buildmode=c-archive/c-shared entry point code
This adds the _lib entry point to various GOOS_amd64.s files.
A future CL will enable c-archive/c-shared mode for those targets.
As far as I can tell, the newosproc0 function in os_darwin.go was
passing the wrong arguments to bsdthread_create. The newosproc0
function is never called in the current testsuite.
Change-Id: Ie7c1c2e326cec87013e0fea84f751091b0ea7f51
Reviewed-on: https://go-review.googlesource.com/69711
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/rt0_solaris_amd64.s')
-rw-r--r-- | src/runtime/rt0_solaris_amd64.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/rt0_solaris_amd64.s b/src/runtime/rt0_solaris_amd64.s index 695b4a6c8e..5c46ded3ae 100644 --- a/src/runtime/rt0_solaris_amd64.s +++ b/src/runtime/rt0_solaris_amd64.s @@ -6,3 +6,6 @@ TEXT _rt0_amd64_solaris(SB),NOSPLIT,$-8 JMP _rt0_amd64(SB) + +TEXT _rt0_amd64_solaris_lib(SB),NOSPLIT,$0 + JMP _rt0_amd64_lib(SB) |