mirror of
https://github.com/golang/go
synced 2024-11-12 09:20:22 -07:00
runtime: fixes for arm64 shared libraries
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>
This commit is contained in:
parent
df37c4b987
commit
9f0baca505
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user