mirror of https://github.com/golang/go.git
[dev.power64] os/signal: support for linux/power64 and linux/power64le
LGTM=rsc R=rsc, iant CC=golang-codereviews https://golang.org/cl/121580043
This commit is contained in:
parent
c74a4d4add
commit
f2d43ec7cd
|
|
@ -4,13 +4,19 @@
|
|||
|
||||
// Assembly to get into package runtime without using exported symbols.
|
||||
|
||||
// +build amd64 amd64p32 arm 386
|
||||
// +build amd64 amd64p32 arm 386 power64 power64le
|
||||
|
||||
#include "../../../cmd/ld/textflag.h"
|
||||
|
||||
#ifdef GOARCH_arm
|
||||
#define JMP B
|
||||
#endif
|
||||
#ifdef GOARCH_power64
|
||||
#define JMP BR
|
||||
#endif
|
||||
#ifdef GOARCH_power64le
|
||||
#define JMP BR
|
||||
#endif
|
||||
|
||||
TEXT ·signal_disable(SB),NOSPLIT,$0
|
||||
JMP runtime·signal_disable(SB)
|
||||
|
|
|
|||
Loading…
Reference in New Issue