]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fixes for arm64 shared libraries
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Wed, 26 Aug 2015 23:20:38 +0000 (11:20 +1200)
committerDave Cheney <dave@cheney.net>
Thu, 3 Sep 2015 01:07:40 +0000 (01:07 +0000)
Building for shared libraries requires that all functions that are declared
have an implementation and vice versa so make that so on arm64.

It would be nicer to not require the stub sigreturn (it will never be called)
but that seems a bit awkward.

Change-Id: I3cec81697161b452af81fa35939f748bd1acf7fd
Reviewed-on: https://go-review.googlesource.com/13995
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/runtime/asm_arm64.s

index 703ceea97a283cf56f83eeb0367c0192c341eaba..797c95eabafba3bc3c445fdc84b7e5ba7c6e29ab 100644 (file)
@@ -426,7 +426,6 @@ end:                                                \
 
 // These have 8 added to make the overall frame size a multiple of 16,
 // as required by the ABI. (There is another +8 for the saved LR.)
-CALLFN(·call16, 24 )
 CALLFN(·call32, 40 )
 CALLFN(·call64, 72 )
 CALLFN(·call128, 136 )
@@ -1029,3 +1028,5 @@ TEXT runtime·prefetcht2(SB),NOSPLIT,$0-8
 TEXT runtime·prefetchnta(SB),NOSPLIT,$0-8
        RET
 
+TEXT runtime·sigreturn(SB),NOSPLIT,$0-8
+        RET