From: Ulrich Drepper Date: Wed, 30 Jan 2008 17:43:50 +0000 (+0000) Subject: (sem_post): Avoid unnecessary addr32 prefix. X-Git-Tag: cvs/fedora-glibc-20080131T0821~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f37eb57f8034463e5eebc296c1cd75a07274887b;p=thirdparty%2Fglibc.git (sem_post): Avoid unnecessary addr32 prefix. --- 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 b4014c6505e..979b1bf1d6b 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)