Fix __setcontext return value on hppa.

This commit is contained in:
John David Anglin 2017-07-16 12:13:14 -04:00
parent d71400dca6
commit 07f94b7a96
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2017-07-16 John David Anglin <danglin@gcc.gnu.org>
* 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

View File

@ -141,7 +141,7 @@ ENTRY(__setcontext)
/* No further context available. Exit now. */
bl HIDDEN_JUMPTARGET(exit), %r2
ldi -1, %r26
ldi 0, %r26
.Lerror: