mirror of git://sourceware.org/git/glibc.git
Update.
2002-09-30 Andreas Jaeger <aj@suse.de> * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Store 4 bytes into errno, not 8 bytes.
This commit is contained in:
parent
14bdd76de3
commit
5d865001d8
|
@ -1,3 +1,10 @@
|
||||||
|
2002-09-30 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
|
||||||
|
Store 4 bytes into errno, not 8 bytes.
|
||||||
|
|
||||||
2002-09-29 Ulrich Drepper <drepper@redhat.com>
|
2002-09-29 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* posix/regexec.c (sift_states_bkref): Remove ret variable. Use
|
* posix/regexec.c (sift_states_bkref): Remove ret variable. Use
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
#ifndef PIC
|
#ifndef PIC
|
||||||
#define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */
|
#define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */
|
||||||
#else
|
#else
|
||||||
/* Store (- %rax) into errno through the GOT. */
|
/* Store (- %rax) into errno through the GOT. Note that errno occupies 4 bytes. */
|
||||||
#ifdef _LIBC_REENTRANT
|
#ifdef _LIBC_REENTRANT
|
||||||
#define SYSCALL_ERROR_HANDLER \
|
#define SYSCALL_ERROR_HANDLER \
|
||||||
0: \
|
0: \
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
call BP_SYM (__errno_location)@PLT; \
|
call BP_SYM (__errno_location)@PLT; \
|
||||||
POP_ERRNO_LOCATION_RETURN; \
|
POP_ERRNO_LOCATION_RETURN; \
|
||||||
popq %rdx; \
|
popq %rdx; \
|
||||||
movq %rdx, (%rax); \
|
movl %edx, (%rax); \
|
||||||
orq $-1, %rax; \
|
orq $-1, %rax; \
|
||||||
jmp L(pseudo_end);
|
jmp L(pseudo_end);
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
0:movq errno@GOTPCREL(%RIP), %rcx; \
|
0:movq errno@GOTPCREL(%RIP), %rcx; \
|
||||||
xorq %rdx, %rdx; \
|
xorq %rdx, %rdx; \
|
||||||
subq %rax, %rdx; \
|
subq %rax, %rdx; \
|
||||||
movq %rdx, (%rcx); \
|
movl %edx, (%rcx); \
|
||||||
orq $-1, %rax; \
|
orq $-1, %rax; \
|
||||||
jmp L(pseudo_end);
|
jmp L(pseudo_end);
|
||||||
#endif /* _LIBC_REENTRANT */
|
#endif /* _LIBC_REENTRANT */
|
||||||
|
|
Loading…
Reference in New Issue