]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.power64] os/signal: support for linux/power64 and linux/power64le
authorShenghou Ma <minux@golang.org>
Tue, 12 Aug 2014 23:49:41 +0000 (19:49 -0400)
committerShenghou Ma <minux@golang.org>
Tue, 12 Aug 2014 23:49:41 +0000 (19:49 -0400)
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/121580043

src/pkg/os/signal/sig.s

index f860924aa0b697b28fc52cdedbc464883984bdfe..c324fcda4e5805095ae5c8aef29de74e753bd9e2 100644 (file)
@@ -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)