diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/__start_context.S | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 9dabeca5d3..28086455d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/sysdeps/unix/sysv/linux/x86_64/__start_context.S b/sysdeps/unix/sysv/linux/x86_64/__start_context.S index 408d30d53d..6a33cd0b2d 100644 --- a/sysdeps/unix/sysv/linux/x86_64/__start_context.S +++ b/sysdeps/unix/sysv/linux/x86_64/__start_context.S @@ -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 |