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

« back to all changes in this revision

Viewing changes to reference/glibc/strlen.S

  • Committer: Michael Hope
  • Date: 2012-06-12 03:32:50 UTC
  • Revision ID: michael.hope@linaro.org-20120612033250-zdptxylw1km0zrhl
Added function type attributes to all reference assembly versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 * entry: r0 -> string
22
22
 * exit: r0 = len
23
23
 */
 
24
        .text
24
25
        .globl strlen
 
26
        .type strlen, %function
25
27
        
26
28
strlen: 
27
29
        bic     r1, r0, $3              @ addr of word containing first byte