diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-12 10:28:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-12 10:28:07 +0000 |
commit | 326132dbdba5be889b8f97430779ea15c9b90ce1 (patch) | |
tree | 20a0078294ba2b12cf183a350a00ca86c04546b3 /nptl/sysdeps/sh | |
parent | da49194d2d1d19baa603b7e98677377cfb00d8dd (diff) | |
download | glibc-326132dbdba5be889b8f97430779ea15c9b90ce1.tar glibc-326132dbdba5be889b8f97430779ea15c9b90ce1.tar.gz glibc-326132dbdba5be889b8f97430779ea15c9b90ce1.tar.bz2 glibc-326132dbdba5be889b8f97430779ea15c9b90ce1.zip |
2003-03-12 Roland McGrath <roland@redhat.com>
* pthread-errnos.sym: New file.
* Makefile (gen-as-const-headers): New variable, list that file.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Include generated
header <pthread-errnos.h> instead of defining errno values here.
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
* sysdeps/i386/i486/pthread_spin_trylock.S: Likewise.
* sysdeps/x86_64/pthread_spin_trylock.S: Likewise.
* sysdeps/sh/pthread_spin_trylock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.
Diffstat (limited to 'nptl/sysdeps/sh')
-rw-r--r-- | nptl/sysdeps/sh/pthread_spin_trylock.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/sh/pthread_spin_trylock.S b/nptl/sysdeps/sh/pthread_spin_trylock.S index 63ae4d36af..18112ba230 100644 --- a/nptl/sysdeps/sh/pthread_spin_trylock.S +++ b/nptl/sysdeps/sh/pthread_spin_trylock.S @@ -16,7 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define EBUSY 16 +#include <pthread-errnos.h> .globl pthread_spin_trylock .type pthread_spin_trylock,@function @@ -24,7 +24,7 @@ pthread_spin_trylock: tas.b @r4 bf/s 1f - mov #EBUSY, r0 + mov #EBUSY, r0 mov #0, r0 1: rts |