mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
Replace "jmp L(pseudo_end)" with "ret"
This commit is contained in:
parent
8caf8c87e1
commit
5e292e4fa5
@ -1,3 +1,10 @@
|
|||||||
|
2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
|
||||||
|
Replace "jmp L(pseudo_end)" with "ret".
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
|
||||||
|
Likewise.
|
||||||
|
|
||||||
2012-05-23 Andreas Jaeger <aj@suse.de>
|
2012-05-23 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/syscalls.list: Add poll.
|
* sysdeps/unix/sysv/linux/syscalls.list: Add poll.
|
||||||
|
@ -115,7 +115,7 @@
|
|||||||
negl %eax; \
|
negl %eax; \
|
||||||
movl %eax, rtld_errno@GOTOFF(%ecx); \
|
movl %eax, rtld_errno@GOTOFF(%ecx); \
|
||||||
orl $-1, %eax; \
|
orl $-1, %eax; \
|
||||||
jmp L(pseudo_end);
|
ret;
|
||||||
|
|
||||||
# elif defined _LIBC_REENTRANT
|
# elif defined _LIBC_REENTRANT
|
||||||
|
|
||||||
@ -131,7 +131,7 @@
|
|||||||
negl %eax; \
|
negl %eax; \
|
||||||
SYSCALL_ERROR_HANDLER_TLS_STORE (%eax, %ecx); \
|
SYSCALL_ERROR_HANDLER_TLS_STORE (%eax, %ecx); \
|
||||||
orl $-1, %eax; \
|
orl $-1, %eax; \
|
||||||
jmp L(pseudo_end);
|
ret;
|
||||||
# ifndef NO_TLS_DIRECT_SEG_REFS
|
# ifndef NO_TLS_DIRECT_SEG_REFS
|
||||||
# define SYSCALL_ERROR_HANDLER_TLS_STORE(src, destoff) \
|
# define SYSCALL_ERROR_HANDLER_TLS_STORE(src, destoff) \
|
||||||
movl src, %gs:(destoff)
|
movl src, %gs:(destoff)
|
||||||
@ -149,7 +149,7 @@
|
|||||||
movl errno@GOT(%ecx), %ecx; \
|
movl errno@GOT(%ecx), %ecx; \
|
||||||
movl %eax, (%ecx); \
|
movl %eax, (%ecx); \
|
||||||
orl $-1, %eax; \
|
orl $-1, %eax; \
|
||||||
jmp L(pseudo_end);
|
ret;
|
||||||
# endif /* _LIBC_REENTRANT */
|
# endif /* _LIBC_REENTRANT */
|
||||||
#endif /* PIC */
|
#endif /* PIC */
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@
|
|||||||
0: \
|
0: \
|
||||||
SYSCALL_SET_ERRNO; \
|
SYSCALL_SET_ERRNO; \
|
||||||
or $-1, %RAX_LP; \
|
or $-1, %RAX_LP; \
|
||||||
jmp L(pseudo_end);
|
ret;
|
||||||
# endif /* PIC */
|
# endif /* PIC */
|
||||||
|
|
||||||
/* The Linux/x86-64 kernel expects the system call parameters in
|
/* The Linux/x86-64 kernel expects the system call parameters in
|
||||||
|
Loading…
Reference in New Issue
Block a user