From f37eb57f8034463e5eebc296c1cd75a07274887b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 30 Jan 2008 17:43:50 +0000 Subject: [PATCH] (sem_post): Avoid unnecessary addr32 prefix. --- nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4