This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! I think x86_64/sysdep.h should stay in sync. 2002-10-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Use __libc_errno only for libc itself. --- libc/sysdeps/unix/sysv/linux/x86_64/sysdep.h.jj 2002-10-16 23:10:03.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/x86_64/sysdep.h 2002-10-16 23:11:07.000000000 +0200 @@ -93,9 +93,14 @@ orq $-1, %rax; \ jmp L(pseudo_end); #elif USE___THREAD +# ifndef NOT_IN_libc +# define SYSCALL_ERROR_ERRNO __libc_errno +# else +# define SYSCALL_ERROR_ERRNO errno +# endif # define SYSCALL_ERROR_HANDLER \ 0: \ - movq __libc_errno@GOTTPOFF(%rip), %rcx; \ + movq SYSCALL_ERROR_ERRNO@GOTTPOFF(%rip), %rcx;\ xorq %rdx, %rdx; \ subq %rax, %rdx; \ movl %edx, %fs:(%rcx); \ Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |