summaryrefslogtreecommitdiff
path: root/lib/libc/arch/mips/string/bcopy.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/mips/string/bcopy.S')
-rw-r--r--lib/libc/arch/mips/string/bcopy.S23
1 files changed, 2 insertions, 21 deletions
diff --git a/lib/libc/arch/mips/string/bcopy.S b/lib/libc/arch/mips/string/bcopy.S
index 244f78314cd..1ea3d0cb1a5 100644
--- a/lib/libc/arch/mips/string/bcopy.S
+++ b/lib/libc/arch/mips/string/bcopy.S
@@ -1,3 +1,4 @@
+/* $OpenBSD: bcopy.S,v 1.3 1996/07/30 20:27:54 pefo Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,36 +35,16 @@
* SUCH DAMAGE.
*/
-#if MACHINE==pica
#include <machine/asm.h>
-#else
-#include <machine/machAsmDefs.h>
-#endif
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)bcopy.s 8.1 (Berkeley) 6/4/93")
- ASMSTR("$Id: bcopy.S,v 1.2 1996/05/16 11:16:04 pefo Exp $")
+ ASMSTR("$Id: bcopy.S,v 1.3 1996/07/30 20:27:54 pefo Exp $")
#endif /* LIBC_SCCS and not lint */
/* bcopy(s1, s2, n) */
-#ifdef ABICALLS
- .abicalls
-#endif
-#ifdef MIPSEL
-# define LWHI lwr
-# define LWLO lwl
-# define SWHI swr
-# define SWLO swl
-#endif
-#ifdef MIPSEB
-# define LWHI lwl
-# define LWLO lwr
-# define SWHI swl
-# define SWLO swr
-#endif
-
LEAF(bcopy)
.set noreorder
addu t0, a0, a2 # t0 = end of s1 region