]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
authorRoland McGrath <roland@gnu.org>
Fri, 11 Oct 2002 12:54:53 +0000 (12:54 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 11 Oct 2002 12:54:53 +0000 (12:54 +0000)
Fix typos.

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

index d335df9885f468aae2dbaf0d01bacaf4e045bb87..2fc910e6753266069d450b4557bb6dfd16b6e9af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-10-11  Roland McGrath  <roland@redhat.com>
 
+       * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
+       Fix typos.
+
        * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
        * sysdeps/sh/dl-lookupcfg.h: File removed.
        * sysdeps/i386/dl-lookupcfg.h: File removed.
index d7fde3931152438a277bd7e8ed093d03733e95fd..17f2ca919fda1c154b5f1e9bdea650655d8d57ac 100644 (file)
   movq errno@GOTTPOFF(%rip), %rcx;             \
   xorq %rdx, %rdx;                             \
   subq %rax, %rdx;                             \
-  movl %eax, %fs:0(%rcx);
+  movl %edx, %fs:(%rcx);                       \
+  orq $-1, %rax;                               \
+  jmp L(pseudo_end);
 #elif RTLD_PRIVATE_ERRNO
 # define SYSCALL_ERROR_HANDLER                 \
 0:                                             \
   leaq errno(%rip), %rcx;                      \
   xorq %rdx, %rdx;                             \
   subq %rax, %rdx;                             \
-  movl %eax, (%rcx);
+  movl %edx, (%rcx);                           \
+  orq $-1, %rax;                               \
+  jmp L(pseudo_end);
 #elif defined _LIBC_REENTRANT
 /* Store (- %rax) into errno through the GOT.
    Note that errno occupies only 4 bytes.  */
This page took 0.045518 seconds and 5 git commands to generate.