From: John David Anglin Date: Sun, 16 Jul 2017 16:13:14 +0000 (-0400) Subject: Fix __setcontext return value on hppa. X-Git-Tag: glibc-2.26~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07f94b7a96392c8609ac8d29956728d9017e6e8a;p=thirdparty%2Fglibc.git Fix __setcontext return value on hppa. --- diff --git a/ChangeLog b/ChangeLog index 903c9e9a978..a1720fc7056 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2017-07-16 John David Anglin + * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0. + * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset. Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack pointer offset. Correct PIC register offset. Don't mention frame diff --git a/sysdeps/unix/sysv/linux/hppa/setcontext.S b/sysdeps/unix/sysv/linux/hppa/setcontext.S index 3f4da7938fd..848d02e9087 100644 --- a/sysdeps/unix/sysv/linux/hppa/setcontext.S +++ b/sysdeps/unix/sysv/linux/hppa/setcontext.S @@ -141,7 +141,7 @@ ENTRY(__setcontext) /* No further context available. Exit now. */ bl HIDDEN_JUMPTARGET(exit), %r2 - ldi -1, %r26 + ldi 0, %r26 .Lerror: