public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [committed] Exit __setcontext with value 0
@ 2017-07-16 17:17 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2017-07-16 17:17 UTC (permalink / raw)
  To: GNU C Library; +Cc: Carlos O'Donell

[-- Attachment #1: Type: text/plain, Size: 80 bytes --]

Fixes stdlib/tst-setcontext1.

Dave
--
John David Anglin	dave.anglin@bell.net



[-- Attachment #2: setcontext.S.d.txt --]
[-- Type: text/plain, Size: 542 bytes --]

2017-07-16  John David Anglin  <danglin@gcc.gnu.org>

	* sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.

diff --git a/sysdeps/unix/sysv/linux/hppa/setcontext.S b/sysdeps/unix/sysv/linux/hppa/setcontext.S
index 3f4da7938f..92cb204f8d 100644
--- a/sysdeps/unix/sysv/linux/hppa/setcontext.S
+++ b/sysdeps/unix/sysv/linux/hppa/setcontext.S
@@ -141,7 +144,7 @@ ENTRY(__setcontext)
 
 	/* No further context available. Exit now.  */
 	bl	HIDDEN_JUMPTARGET(exit), %r2
-	ldi	-1, %r26
+	ldi	0, %r26
 
 
 .Lerror:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-16 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-16 17:17 [committed] Exit __setcontext with value 0 John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).