summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/syscall.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-16 04:49:08 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-16 04:49:08 +0000
commitf106775df14dbd1af2f1e0d3b1b3c67c167f8ce0 (patch)
treeff8ad77949aae56db49e68538ea3fe7a1914211c /libc/sysdeps/linux/i386/syscall.S
parent7166f6c6fed92ab07fbfa66b50816827012eac9d (diff)
Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__
-Erik
Diffstat (limited to 'libc/sysdeps/linux/i386/syscall.S')
-rw-r--r--libc/sysdeps/linux/i386/syscall.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/syscall.S b/libc/sysdeps/linux/i386/syscall.S
index c67b39ece..a70a99701 100644
--- a/libc/sysdeps/linux/i386/syscall.S
+++ b/libc/sysdeps/linux/i386/syscall.S
@@ -47,21 +47,21 @@ Lhere:
addl $_GLOBAL_OFFSET_TABLE_+[.-Lhere],%ebx
negl %eax
movl %eax,%ecx
-#ifdef _LIBC_REENTRANT
+#ifdef __UCLIBC_HAS_THREADS__
call __errno_location@PLT
#else
movl errno@GOT(%ebx),%eax
-#endif /* _LIBC_REENTRANT */
+#endif /* __UCLIBC_HAS_THREADS__ */
movl %ecx,(%eax)
#else
negl %eax
-#ifdef _LIBC_REENTRANT
+#ifdef __UCLIBC_HAS_THREADS__
movl %eax,%ecx
call __errno_location
movl %ecx,(%eax)
#else
movl %eax,errno
-#endif /* _LIBC_REENTRANT */
+#endif /* __UCLIBC_HAS_THREADS__ */
#endif /* PIC */