summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/rc4/rc4_amd64.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/rc4/rc4_amd64.s')
-rw-r--r--src/pkg/crypto/rc4/rc4_amd64.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/crypto/rc4/rc4_amd64.s b/src/pkg/crypto/rc4/rc4_amd64.s
index 353fe3720..e3234b6c7 100644
--- a/src/pkg/crypto/rc4/rc4_amd64.s
+++ b/src/pkg/crypto/rc4/rc4_amd64.s
@@ -2,6 +2,8 @@
// http://www.zorinaq.com/papers/rc4-amd64.html
// http://www.zorinaq.com/papers/rc4-amd64.tar.bz2
+#include "../../../cmd/ld/textflag.h"
+
// Local modifications:
//
// Transliterated from GNU to 6a assembly syntax by the Go authors.
@@ -36,7 +38,7 @@
** a 1.8 GHz AMD Opteron (rev C0) processor.
*/
-TEXT ·xorKeyStream(SB),7,$0
+TEXT ·xorKeyStream(SB),NOSPLIT,$0
MOVQ n+16(FP), BX // rbx = ARG(len)
MOVQ src+8(FP), SI // in = ARG(in)
MOVQ dst+0(FP), DI // out = ARG(out)