mirror of git://sourceware.org/git/glibc.git
Call x86-64 __setcontext directly
Since x86-64 __start_context calls the internal __setcontext: 5089: 00000000000417e0 145 FUNC LOCAL DEFAULT 13 __setcontext it should call __setcontext directly. * sysdeps/unix/sysv/linux/x86_64/__start_context.S (__start_context): Call __setcontext directly.
This commit is contained in:
parent
dacc1a23d3
commit
521266a819
|
@ -1,3 +1,8 @@
|
|||
2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/__start_context.S
|
||||
(__start_context): Call __setcontext directly.
|
||||
|
||||
2016-02-26 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/kernel-features.h
|
||||
|
|
|
@ -36,7 +36,7 @@ ENTRY(__start_context)
|
|||
testq %rdi, %rdi
|
||||
je 2f /* If it is zero exit. */
|
||||
|
||||
call JUMPTARGET(__setcontext)
|
||||
call __setcontext
|
||||
/* If this returns (which can happen if the syscall fails) we'll
|
||||
exit the program with the return error value (-1). */
|
||||
movq %rax,%rdi
|
||||
|
|
Loading…
Reference in New Issue