summaryrefslogtreecommitdiff
path: root/lib/libc/arch/mips/string/ffs.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/mips/string/ffs.S')
-rw-r--r--lib/libc/arch/mips/string/ffs.S10
1 files changed, 9 insertions, 1 deletions
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)