From 01d2601561afcd4feeb3310176ff96909c4d2e47 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 26 Aug 2010 22:35:42 -0700 Subject: [PATCH] Fix typo in last commit. --- sysdeps/x86_64/strlen.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)