summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-05-26 20:23:39 +0000
committermiod <miod@openbsd.org>2015-05-26 20:23:39 +0000
commitdec53c21e5ad6f388f4ca57e499f4d98da8f9f9a (patch)
tree002d11145b4a54aab53c35e240ab7c7f2eae398f
parentBetter cross-compilation check (diff)
downloadwireguard-openbsd-dec53c21e5ad6f388f4ca57e499f4d98da8f9f9a.tar.xz
wireguard-openbsd-dec53c21e5ad6f388f4ca57e499f4d98da8f9f9a.zip
Bring back `1:' label removed by mistake in 1.7. Complained loudly about by gas
2.17, while 2.15 didn't care, which just caused a cold shiver accross my spine.
-rw-r--r--lib/libc/arch/vax/string/memcpy.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/vax/string/memcpy.S b/lib/libc/arch/vax/string/memcpy.S
index f007c135fc2..d456a9a2d4f 100644
--- a/lib/libc/arch/vax/string/memcpy.S
+++ b/lib/libc/arch/vax/string/memcpy.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: memcpy.S,v 1.7 2014/11/30 19:43:56 deraadt Exp $ */
+/* $OpenBSD: memcpy.S,v 1.8 2015/05/26 20:23:39 miod Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -42,7 +42,7 @@ ENTRY(memcpy, R2|R3|R4|R5)
movzwl $65535,%r0 /* r0 = 64K (needed below) */
movq 8(%ap),%r1 /* r1 = src, r2 = length */
movl 4(%ap),%r3 /* r3 = dst */
-
+1:
/* copy forward */
cmpl %r2,%r0
bgtru 3f /* stupid movc3 limitation */