diff options
Diffstat (limited to 'lib/libc/arch/mips/string')
-rw-r--r-- | lib/libc/arch/mips/string/bcmp.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/mips/string/bcopy.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/mips/string/bzero.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/mips/string/ffs.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/mips/string/index.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/mips/string/rindex.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/mips/string/strcmp.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/mips/string/strlen.S | 10 |
8 files changed, 72 insertions, 8 deletions
diff --git a/lib/libc/arch/mips/string/bcmp.S b/lib/libc/arch/mips/string/bcmp.S index 139704c1902..de1185f6bbd 100644 --- a/lib/libc/arch/mips/string/bcmp.S +++ b/lib/libc/arch/mips/string/bcmp.S @@ -34,13 +34,21 @@ * SUCH DAMAGE. */ +#if MACHINE==pica +#include <machine/asm.h> +#else #include <machine/machAsmDefs.h> +#endif #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)bcmp.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: bcmp.S,v 1.1 1995/10/18 08:41:34 deraadt Exp $") + ASMSTR("$Id: bcmp.S,v 1.2 1996/05/16 11:16:04 pefo Exp $") #endif /* LIBC_SCCS and not lint */ + +#ifdef ABICALLS + .abicalls +#endif /* bcmp(s1, s2, n) */ #ifdef MIPSEL diff --git a/lib/libc/arch/mips/string/bcopy.S b/lib/libc/arch/mips/string/bcopy.S index 90ead170596..244f78314cd 100644 --- a/lib/libc/arch/mips/string/bcopy.S +++ b/lib/libc/arch/mips/string/bcopy.S @@ -34,15 +34,23 @@ * 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.1 1995/10/18 08:41:34 deraadt Exp $") + ASMSTR("$Id: bcopy.S,v 1.2 1996/05/16 11:16:04 pefo Exp $") #endif /* LIBC_SCCS and not lint */ /* bcopy(s1, s2, n) */ + +#ifdef ABICALLS + .abicalls +#endif #ifdef MIPSEL # define LWHI lwr # define LWLO lwl diff --git a/lib/libc/arch/mips/string/bzero.S b/lib/libc/arch/mips/string/bzero.S index 2b695305013..c1ea25da295 100644 --- a/lib/libc/arch/mips/string/bzero.S +++ b/lib/libc/arch/mips/string/bzero.S @@ -34,13 +34,21 @@ * SUCH DAMAGE. */ +#if MACHINE==pica +#include <machine/asm.h> +#else #include <machine/machAsmDefs.h> +#endif #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)bzero.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: bzero.S,v 1.1 1995/10/18 08:41:34 deraadt Exp $") + ASMSTR("$Id: bzero.S,v 1.2 1996/05/16 11:16:05 pefo Exp $") #endif /* LIBC_SCCS and not lint */ +#ifdef ABICALLS + .abicalls +#endif + /* bzero(s1, n) */ LEAF(bzero) diff --git a/lib/libc/arch/mips/string/ffs.S b/lib/libc/arch/mips/string/ffs.S index 1d337ad3b24..d84b9fedc40 100644 --- a/lib/libc/arch/mips/string/ffs.S +++ b/lib/libc/arch/mips/string/ffs.S @@ -34,13 +34,21 @@ * SUCH DAMAGE. */ +#if MACHINE==pica +#include <machine/asm.h> +#else #include <machine/machAsmDefs.h> +#endif #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)ffs.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: ffs.S,v 1.1 1995/10/18 08:41:34 deraadt Exp $") + ASMSTR("$Id: ffs.S,v 1.2 1996/05/16 11:16:05 pefo Exp $") #endif /* LIBC_SCCS and not lint */ +#ifdef ABICALLS + .abicalls +#endif + /* bit = ffs(value) */ LEAF(ffs) diff --git a/lib/libc/arch/mips/string/index.S b/lib/libc/arch/mips/string/index.S index 4f0ecf4d78b..2d89a987645 100644 --- a/lib/libc/arch/mips/string/index.S +++ b/lib/libc/arch/mips/string/index.S @@ -34,13 +34,21 @@ * SUCH DAMAGE. */ +#if MACHINE==pica +#include <machine/asm.h> +#else #include <machine/machAsmDefs.h> +#endif #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)index.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: index.S,v 1.1 1995/10/18 08:41:35 deraadt Exp $") + ASMSTR("$Id: index.S,v 1.2 1996/05/16 11:16:06 pefo Exp $") #endif /* LIBC_SCCS and not lint */ +#ifdef ABICALLS + .abicalls +#endif + LEAF(index) lbu a2, 0(a0) # get a byte addu a0, a0, 1 diff --git a/lib/libc/arch/mips/string/rindex.S b/lib/libc/arch/mips/string/rindex.S index 21586b5a46e..bf1f1720495 100644 --- a/lib/libc/arch/mips/string/rindex.S +++ b/lib/libc/arch/mips/string/rindex.S @@ -34,13 +34,21 @@ * SUCH DAMAGE. */ +#if MACHINE==pica +#include <machine/asm.h> +#else #include <machine/machAsmDefs.h> +#endif #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)rindex.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: rindex.S,v 1.1 1995/10/18 08:41:35 deraadt Exp $") + ASMSTR("$Id: rindex.S,v 1.2 1996/05/16 11:16:06 pefo Exp $") #endif /* LIBC_SCCS and not lint */ +#ifdef ABICALLS + .abicalls +#endif + LEAF(rindex) move v0, zero # default if not found 1: diff --git a/lib/libc/arch/mips/string/strcmp.S b/lib/libc/arch/mips/string/strcmp.S index 2c4497afe82..4f46bc94a71 100644 --- a/lib/libc/arch/mips/string/strcmp.S +++ b/lib/libc/arch/mips/string/strcmp.S @@ -34,13 +34,21 @@ * SUCH DAMAGE. */ +#if MACHINE==pica +#include <machine/asm.h> +#else #include <machine/machAsmDefs.h> +#endif #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)strcmp.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: strcmp.S,v 1.1 1995/10/18 08:41:35 deraadt Exp $") + ASMSTR("$Id: strcmp.S,v 1.2 1996/05/16 11:16:06 pefo Exp $") #endif /* LIBC_SCCS and not lint */ +#ifdef ABICALLS + .abicalls +#endif + /* * NOTE: this version assumes unsigned chars in order to be "8 bit clean". */ diff --git a/lib/libc/arch/mips/string/strlen.S b/lib/libc/arch/mips/string/strlen.S index 01eb17f1ed1..8c009ddd8cb 100644 --- a/lib/libc/arch/mips/string/strlen.S +++ b/lib/libc/arch/mips/string/strlen.S @@ -34,13 +34,21 @@ * SUCH DAMAGE. */ +#if MACHINE==pica +#include <machine/asm.h> +#else #include <machine/machAsmDefs.h> +#endif #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)strlen.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: strlen.S,v 1.1 1995/10/18 08:41:35 deraadt Exp $") + ASMSTR("$Id: strlen.S,v 1.2 1996/05/16 11:16:07 pefo Exp $") #endif /* LIBC_SCCS and not lint */ +#ifdef ABICALLS + .abicalls +#endif + LEAF(strlen) addu v1, a0, 1 1: |