From: Ulrich Drepper Date: Fri, 27 Aug 2010 05:35:42 +0000 (-0700) Subject: Fix typo in last commit. X-Git-Tag: glibc-2.13~132 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=01d2601561afcd4feeb3310176ff96909c4d2e47;p=glibc.git Fix typo in last commit. --- diff --git a/sysdeps/x86_64/strlen.S b/sysdeps/x86_64/strlen.S index ee943775e6..28f828780e 100644 --- a/sysdeps/x86_64/strlen.S +++ b/sysdeps/x86_64/strlen.S @@ -84,19 +84,19 @@ L(exit_less16): L(exit16): sub %rdi, %rax bsf %rdx, %rdx - lea 16(%rdx), %rax + lea 16(%rdx,%rax), %rax ret .p2align 4 L(exit32): sub %rdi, %rax bsf %rdx, %rdx - lea 32(%rdx), %rax + lea 32(%rdx,%rax), %rax ret .p2align 4 L(exit48): sub %rdi, %rax bsf %rdx, %rdx - lea 48(%rdx), %rax + lea 48(%rdx,%rax), %rax ret END(strlen) libc_hidden_builtin_def (strlen)