xref: /minix3/common/lib/libc/arch/arm/string/strnlen.S (revision 84d9c625bfea59e274550651111ae9edfdc40fbd)
1*84d9c625SLionel Sambuc/* $NetBSD: strnlen.S,v 1.3 2013/08/20 08:08:59 matt Exp $ */
2*84d9c625SLionel Sambuc
3*84d9c625SLionel Sambuc#include <arm/cdefs.h>		/* for _ARM_ARCH_T2 */
4*84d9c625SLionel Sambuc
5*84d9c625SLionel Sambuc#define	STRNLEN
6*84d9c625SLionel Sambuc
7*84d9c625SLionel Sambuc#if defined(_STANDALONE) || (defined(__thumb__) && !defined(_ARM_ARCH_T2))
8*84d9c625SLionel Sambuc#include "strlen_naive.S"
9*84d9c625SLionel Sambuc#else
10*84d9c625SLionel Sambuc#include "strlen_arm.S"
11*84d9c625SLionel Sambuc#endif
12