diff options
Diffstat (limited to 'lib/libc/arch/mips/string/index.S')
-rw-r--r-- | lib/libc/arch/mips/string/index.S | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/libc/arch/mips/string/index.S b/lib/libc/arch/mips/string/index.S index 2d89a987645..3365eda7804 100644 --- a/lib/libc/arch/mips/string/index.S +++ b/lib/libc/arch/mips/string/index.S @@ -1,3 +1,4 @@ +/* $OpenBSD: index.S,v 1.3 1996/07/30 20:27:55 pefo Exp $ */ /*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. @@ -34,22 +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: @(#)index.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: index.S,v 1.2 1996/05/16 11:16:06 pefo Exp $") + ASMSTR("$Id: index.S,v 1.3 1996/07/30 20:27:55 pefo Exp $") #endif /* LIBC_SCCS and not lint */ -#ifdef ABICALLS - .abicalls -#endif LEAF(index) + .set reorder lbu a2, 0(a0) # get a byte addu a0, a0, 1 beq a2, a1, fnd |