diff options
Diffstat (limited to 'newlib/libc/machine/arm/strlen.c')
-rw-r--r-- | newlib/libc/machine/arm/strlen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/machine/arm/strlen.c b/newlib/libc/machine/arm/strlen.c index f31f72170..b8de22994 100644 --- a/newlib/libc/machine/arm/strlen.c +++ b/newlib/libc/machine/arm/strlen.c @@ -60,6 +60,8 @@ strlen (const char* str) } #else +#if !(defined(_ISA_ARM_7) || defined(__ARM_ARCH_6T2__)) + size_t __attribute__((naked)) strlen (const char* str) { @@ -178,3 +180,4 @@ strlen (const char* str) "RETURN"); } #endif +#endif |