about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2017-07-16 12:13:14 -0400
committerJohn David Anglin <danglin@gcc.gnu.org>2017-07-16 12:13:14 -0400
commit07f94b7a96392c8609ac8d29956728d9017e6e8a (patch)
treedebd44245b5a0ec9676864bb14e46ce4fa232d66 /sysdeps/unix
parentd71400dca62ab1b77b2b345a66df77c9f963993b (diff)
downloadglibc-07f94b7a96392c8609ac8d29956728d9017e6e8a.tar.gz
glibc-07f94b7a96392c8609ac8d29956728d9017e6e8a.tar.xz
glibc-07f94b7a96392c8609ac8d29956728d9017e6e8a.zip
Fix __setcontext return value on hppa.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/setcontext.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/setcontext.S b/sysdeps/unix/sysv/linux/hppa/setcontext.S
index 3f4da7938f..848d02e908 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: