~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to src/thumb-2/strlen.c

  • Committer: Michael Hope
  • Date: 2010-09-06 03:41:48 UTC
  • Revision ID: michael.hope@linaro.org-20100906034148-s7wgv5lz1qnh5xj7
Added GLIBC add-on support

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <limits.h>
30
30
#include <stddef.h>
31
31
 
 
32
/* For GLIBC:
 
33
#include <string.h>
 
34
#include <memcopy.h>
 
35
 
 
36
#undef strcmp
 
37
*/
 
38
 
32
39
#if defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED) || \
33
40
  (defined (__thumb__) && !defined (__thumb2__))
34
41
 
176
183
       "BX LR");
177
184
}
178
185
#endif
 
186
/* For GLIBC: libc_hidden_builtin_def (strlen) */