aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/strlen.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-08-26 22:35:42 -0700
committerUlrich Drepper <drepper@redhat.com>2010-08-26 22:35:42 -0700
commit01d2601561afcd4feeb3310176ff96909c4d2e47 (patch)
treebb1416ab9469e3d3cdee82ae80c9114fd5fb1af4 /sysdeps/x86_64/strlen.S
parent9ea3de11f11d8ed0a99b38f63ce5741be80b93a2 (diff)
downloadglibc-01d2601561afcd4feeb3310176ff96909c4d2e47.tar
glibc-01d2601561afcd4feeb3310176ff96909c4d2e47.tar.gz
glibc-01d2601561afcd4feeb3310176ff96909c4d2e47.tar.bz2
glibc-01d2601561afcd4feeb3310176ff96909c4d2e47.zip
Fix typo in last commit.
Diffstat (limited to 'sysdeps/x86_64/strlen.S')
-rw-r--r--sysdeps/x86_64/strlen.S6
1 files 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)