]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 16 Oct 2002 08:57:50 +0000 (08:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 16 Oct 2002 08:57:50 +0000 (08:57 +0000)
2002-10-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
Use __libc_errno only for libc itself.

ChangeLog
sysdeps/unix/sysv/linux/i386/sysdep.h

index 95c80382d1d6ee421088f8313a73e7172664acf4..cdb19310bf78078443e4f7612aaf490d41d4259b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-16  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
+       Use __libc_errno only for libc itself.
+
 2002-10-15  Roland McGrath  <roland@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>
 
index 4c907f2d4a7cd426f5ecd621cedf6b57f0b05969..2057e5d4d2f0374fd0f6fcb0db077c803e8b7cf5 100644 (file)
@@ -111,10 +111,15 @@ __i686.get_pc_thunk.reg:                                                \
 # elif defined _LIBC_REENTRANT
 
 #  if USE___THREAD
+#   ifndef NOT_IN_libc
+#    define SYSCALL_ERROR_ERRNO __libc_errno
+#   else
+#    define SYSCALL_ERROR_ERRNO errno
+#   endif
 #   define SYSCALL_ERROR_HANDLER                                             \
 0:SETUP_PIC_REG (cx);                                                        \
   addl $_GLOBAL_OFFSET_TABLE_, %ecx;                                         \
-  movl __libc_errno@GOTNTPOFF(%ecx), %ecx;                                   \
+  movl SYSCALL_ERROR_ERRNO@GOTNTPOFF(%ecx), %ecx;                            \
   xorl %edx, %edx;                                                           \
   subl %eax, %edx;                                                           \
   movl %edx, %gs:0(%ecx);                                                    \
This page took 0.042406 seconds and 5 git commands to generate.