Use the arm versions of strnlen if compiling thumb2
This commit is contained in:
parent
04d357d985
commit
59eed4d06e
|
@ -1,8 +1,10 @@
|
|||
/* $NetBSD: strnlen.S,v 1.2 2013/08/19 01:08:29 matt Exp $ */
|
||||
/* $NetBSD: strnlen.S,v 1.3 2013/08/20 08:08:59 matt Exp $ */
|
||||
|
||||
#include <arm/cdefs.h> /* for _ARM_ARCH_T2 */
|
||||
|
||||
#define STRNLEN
|
||||
|
||||
#if defined(_STANDALONE) || defined(__thumb__)
|
||||
#if defined(_STANDALONE) || (defined(__thumb__) && !defined(_ARM_ARCH_T2))
|
||||
#include "strlen_naive.S"
|
||||
#else
|
||||
#include "strlen_arm.S"
|
||||
|
|
Loading…
Reference in New Issue