aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-01-30 17:43:50 +0000
committerUlrich Drepper <drepper@redhat.com>2008-01-30 17:43:50 +0000
commitf37eb57f8034463e5eebc296c1cd75a07274887b (patch)
treec6ff86fe13bc85b61d4e7c2c7457661ecfbe9aaa
parent16cd816fd04bd3982c5333c2df76c88e39031522 (diff)
downloadglibc-f37eb57f8034463e5eebc296c1cd75a07274887b.zip
glibc-f37eb57f8034463e5eebc296c1cd75a07274887b.tar.gz
glibc-f37eb57f8034463e5eebc296c1cd75a07274887b.tar.bz2
(sem_post): Avoid unnecessary addr32 prefix.
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S
index b4014c6..979b1bf 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S
@@ -37,7 +37,7 @@ sem_post:
#endif
0: cmpl $SEM_VALUE_MAX, %eax
je 3f
- leal 1(%eax), %esi
+ leal 1(%rax), %esi
LOCK
#if VALUE == 0
cmpxchgl %esi, (%rdi)