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