* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add

missing labels and ; from last change.
This commit is contained in:
Roland McGrath 2002-10-11 12:03:29 +00:00
parent 3021e36d98
commit 1077a5f2d3
2 changed files with 7 additions and 2 deletions

View file

@ -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.

View file

@ -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. */