mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 10:22:41 +08:00
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
missing labels and ; from last change.
This commit is contained in:
parent
3021e36d98
commit
1077a5f2d3
@ -1,5 +1,8 @@
|
||||
2002-10-11 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
|
||||
missing labels and ; from last change.
|
||||
|
||||
* stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
|
||||
number literals, so they are doubles instead of ints.
|
||||
|
||||
|
@ -84,16 +84,18 @@
|
||||
#define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */
|
||||
#elif USE___THREAD
|
||||
# define SYSCALL_ERROR_HANDLER \
|
||||
0: \
|
||||
movq errno@GOTTPOFF(%rip), %rcx; \
|
||||
xorq %rdx, %rdx; \
|
||||
subq %rax, %rdx; \
|
||||
movl %eax, %fs:0(%rcx)
|
||||
movl %eax, %fs:0(%rcx);
|
||||
#elif RTLD_PRIVATE_ERRNO
|
||||
# define SYSCALL_ERROR_HANDLER \
|
||||
0: \
|
||||
leaq errno(%rip), %rcx; \
|
||||
xorq %rdx, %rdx; \
|
||||
subq %rax, %rdx; \
|
||||
movl %eax, (%rcx)
|
||||
movl %eax, (%rcx);
|
||||
#elif defined _LIBC_REENTRANT
|
||||
/* Store (- %rax) into errno through the GOT.
|
||||
Note that errno occupies only 4 bytes. */
|
||||
|
Loading…
Reference in New Issue
Block a user