]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix __setcontext return value on hppa.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 16 Jul 2017 16:13:14 +0000 (12:13 -0400)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 16 Jul 2017 16:13:14 +0000 (12:13 -0400)
ChangeLog
sysdeps/unix/sysv/linux/hppa/setcontext.S

index 903c9e9a9788c96070d66d90fa990fbd6108baf1..a1720fc70569397aecc01f8a12b2bd51679bec9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 3f4da7938fdc1140be87455a0585d5672448de5f..848d02e90875e97e2023682998dfadeac6aec8e1 100644 (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: