From dec53c21e5ad6f388f4ca57e499f4d98da8f9f9a Mon Sep 17 00:00:00 2001 From: miod Date: Tue, 26 May 2015 20:23:39 +0000 Subject: [PATCH] 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. --- lib/libc/arch/vax/string/memcpy.S | 4 ++-- 1 file 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 */ -- 2.20.1